[jboss-user] [JBoss Seam] - Re: serializing access to resource

2008-02-17 Thread [EMAIL PROTECTED]
Ask on EJB3 forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129933#4129933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129933 ___ jboss-user mailing list jboss-user@l

[jboss-user] [JBoss Seam] - Re: serializing access to resource

2008-02-10 Thread gsegura
Ok, perhaps the correct question is: Does EJB3 persistence honors this aspects of Entity Bean Life Cycle (these behaviour is described in http://www.ubookcase.com/book/Sams/JBoss.4.0.The.Official.Guide/0672326485/ch05lev1sec4.html): anonymous wrote : With the default configuration of JBoss ther

[jboss-user] [JBoss Seam] - Re: serializing access to resource

2008-02-08 Thread gsegura
The problem is I don't use hibernate directly but through JPA, besides the hibernate's documentation says: anonymous wrote : Hibernate will always use the locking mechanism of the database, never lock objects in memory! But can't find description of behaviour when some thread tries to access an

[jboss-user] [JBoss Seam] - Re: serializing access to resource

2008-02-08 Thread [EMAIL PROTECTED]
I think I'd try pessimistic (db) locking. I'd suggest asking in the Hibernate forums to find out the best way to get the type of locking you want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127944#4127944 Reply to the post : http://www.jboss.com/index.h