Joined: Fri Feb 25, 2005 10:51 am Posts: 8
|
Hi,
I have a transient object that I know exists in the database. The object uses a synthetic id generated by Hibernate (null since transient) but I have specified a custom update-sql that uses a composite key to update the object. Is there a way to force update this object. When I try session.update(object) i get an error saying that "The given object has a null identifier"
I would like to update a graph of objects this way using cascade. Is it possible? If not what is the preffered way of updating graphs of transient objects?
/william
|
|