File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes http500 Exception: ids for this class must be manually assigned before calling save(): Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "http500 Exception: ids for this class must be manually assigned before calling save():" Watch "http500 Exception: ids for this class must be manually assigned before calling save():" New topic
Author

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

smile ab
Greenhorn

Joined: Oct 09, 2012
Posts: 3
hello, i have this error

and this is my action page

i wish you will help me thank you
jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 296

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
 
Don't get me started about those stupid light bulbs.
 
subject: http500 Exception: ids for this class must be manually assigned before calling save():