Hi all,
I am using versioning for optimistic locking pattern as described in ejb design 
pattern. all by business operations takes DTOs and does bulk operation. Now, I 
am keeping a version cmp field in my dtos and programatically increasing it for 
each update operation. If I find a version mismatch I am throwing exception 
manually. I am not using any Container specific facility because I want to keep 
my design container independent.

Now, I would like to know your view on this approach. I am new to ejb and want 
to know how much feasible it is. And how would it relate with my container's 
Commit options & isolation levels?

If I am using jboss & mysql, What should be my minimum isolation level for this 
approach to work? What should be my commit option?
How do I get an isolation level which is "Read_Commited with optimistic lock" 
as described in ejbDesignPatterns??

any comment will be greately appriciated.
Regards,
Sajid.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939164#3939164

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939164


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to