-->
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: Session-per-conversation pattern
PostPosted: Tue May 16, 2006 2:54 pm 
Newbie

Joined: Tue May 02, 2006 6:54 pm
Posts: 10
Location: Salt Lake City, Utah
In the following article on Sessions and Transactions

http://www.hibernate.org/42.html#A3

Session-per-conversation pattern for long running application transaction doesn't say anything about nature of each transaction, ie. update or read.

Image

In nHibernate documentation under 10.4. Optimistic concurrency control here's what I read:

Quote:
Maintaining isolation of business processes becomes the partial responsibility of the application tier, hence we call this process a long running application transaction. A single application transaction usually spans several database transactions. It will be atomic if only one of these database transactions (the last one) stores the updated data, all others simply read data.


Since in session-per-conversation pattern all changes are flushed when long conversation/application transaction ends, statement from 10.4 on Optimistic concurrency control is not entirely accurate? Am I correct?

Andre


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.