Hi,
is there a way to influence the order in which hibernate (3.0.5) performs
the insert and update statements ?
Problem is that i have a Business object that has a list of security
objects. I load the business objects, modify them and the associated
security objects. After that i save the business objects. For some
reasons hibernate performs an insert on security object before it
performs an insert on the business object. Because we have a
constraint from the security to the business class, the insert of the
security will fail if the associated business object does not yet
exist in the table.
thanks in advance,
Andreas
|