• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Map multiple properties as @Id properties Problem

 
S Subbu
Ranch Hand
Posts: 87
jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am using hibernate, I heared that make multiple properties as @Id s and one of them make as autogenerated . Is it possible.

I write a sample code but i got exception field not has default value .

My Code is




When i execute above code i got 'name' field does not have default value.

Please Clarrify Me
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic