File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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: 297
Eclipse IDE Java
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic