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.