SQL Server identity not generated in the Mapping Files
posted 7 years ago
I am using SQL Server 2005. I am generating the Mapping Files and Domain Objects using the Eclipse Hibernate Code Generation Tools through Hibernate Plugin for the Eclipse.Almost all my tables have the identity type Primary Key. But in the .hbm.xml files generated it is not reflected. I see <generator class="assigned"> in the generated Mapping files. I had to change all the generated Mapping Files to point it to identity. I have to do this everytime I generate the Mapping Files. Is this a bug in Hibernate/Hibernate tools of Eclipse? Did anyone face this problem. Am I doing something wrong? Some body please reply me if you have any idea of the issue.
Hey! Wanna see my flashlight? It looks like this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads