This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, i have problem when i retrieve data from honey table i have no problem in retrieving data.when i try to save a new value with the same honey instance i get the following error.but this how i must do only with the same instance not with new instance if honey class.Can anybody help me out in this..
Updating an identifier is an invalid thing to do. Suprisingly enough, the identifier identifies the object itself, so an update is really an insert. This is why Hibernate will not let you update the id of an object. Call save rather than update and you should be OK.