Hi all.
I want to know how a sequence of crud operations are executed in a
transaction.
I mean, suppose that in a transaction u have 3 update , 2 save and 4 remove calls.
In what sequence these operations are done.
I have a problem using transaction (implementing transactionproxyfactorybean) .
There is an update and a save query on a table. The update should be done before save is called to make sure that there is no violation key exception.
But because the save executes before update (why?)
i get such an exception.
Is there anyone that know how hibernate (or spring)
optimizes these sequencesand runs them.
Sincerely,
Narsis.


Reply With Quote