-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Are Commits deterministic?
PostPosted: Fri Jul 17, 2009 10:19 am 
Newbie

Joined: Fri Jul 17, 2009 10:13 am
Posts: 1
I am new to NHiberate so please forgive me if this is a simple question.

We have two transactions and call commit on each. We call them in the
order we need them to be commited.

Seems that NHiberate commits in the order that it wants instead of the order
that we call them.

We have a trigger that needs the data from the first commit based on the status
of data in the second commit.

But the data in the first commit is never updated until after the trigger has fired.

Can you force a deterministic commit order?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.