This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: http500 Exception: ids for this class must be manually assigned before calling save():
 
Similar Threads
Struts1: Nested/Indexed properties issue
Struts 1 - <html:select multiple problem
Issue in Struts Dropdown(Need Help Ranchers)
array of arrays and a form
java.lang.ClassCastException: org.apache.struts.upload.CommonsMultipartRequestHandler$CommonsFormFil