Hi all,

(Where should I email questions like this? Jboss-Dev, Jboss-User, 
JBoss-CMP? Thanks)

Why not have the ability to "select for update" in CMP for an EntityBean 
load?  I know this is unnessary when only one instance of JBoss is 
running or if the bean is marked as read-only, but what happens when you 
have more than one JBoss hitting the DB?  Since clustering is not 
supported, is this a good way to manage multiple instances of JBoss 
hitting the same datasource?

You could make all your connections TRANSACTION_SERIALIZABLE, but 
doesn't that create performance problems?  Also, with serializing, it 
kind of sucks that the whole transaction is rolled back if one row in 
one table has serialization issues.

Also, maybe "select for update" can be used as an optimization for the 
LOCKING-WAITING performance problem discussed earlier by Marc and Simone.

Regards,
Bill



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to