>> Not sure where you're seeing this assumption ?
>
> The use case was all about getting a read-only nhibernate session. Why
> you want to open a transaction to get a readonly nhibernate session?

You can have transactions that wont rollback on any resource. JTA
exposes this with setRollbackonly().
A transaction that will never commit still guarantee the data read
shouldnt change within the boundaries of the transaction, and thus
remain consistent.

-- 
Cheers,
hammett
http://hammett.castleproject.org/

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en.

Reply via email to