So, my code looks something like this:
| if (cach.containsKey(key))
| {
| throw something;
| }
|
| <acquire lock>/<begin transaction>
| if (cach.containsKey(key))
| {
| <release lock>/<rollback transaction>
| throw something;
| }
|
| cache.put(blah, key, value);
| <release lock>/<commit transaction>
|
Given these semantics, would I need to use a SERIALIZABLE isolation level, or could I
get by with REPEATABLE_READ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853653#3853653
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853653
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development