Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

http500 Exception: ids for this class must be manually assigned before calling save():

 
smile ab
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello, i have this error

and this is my action page

i wish you will help me thank you
 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Seems there is problem in cofiguration of the primary key.Please check the .hbm file where you have decalre the primary key. Post code for the same. Also try assign the hard code value to
primary key and then call save() check does it work or not?

Regards
Jatan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic