Gavin King <[EMAIL PROTECTED]> writes: > What of you need to make a remote call, or send a message inside the > txn? Your analysis assumes that the system is not distributed in any way. :)
Optimistic locking can be layered on top of a system like this. I don't believe that non-optimistically-locked ACID transactions are possible in a distributed environment. http://www.nada.kth.se/kurser/kth/2D5340/wwwbook/node5.html#SECTION00211000000000000000 (The famous "Byzantine Agreement" problem). In other words, you have to allow the transaction processor to force a rollback -- if you don't, the remote call could block forever (for example, due to a network failure) and halt the database. Local I/O is this funny case where it can block, but you know it won't block forever, so people want to be able to do local I/O inside a transaction and not have to write rollback handlers. - a -- "Education is not filling a bucket but lighting a fire." -- WB Yeats ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel