• Post Reply Bookmark Topic Watch Topic
  • New Topic

SQL Server identity not generated in the Mapping Files  RSS feed

leela addagulla
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!