I think what you need is

<sync-on-commit-only>true</sync-on-commit-only>

which can be specified in the container configuration.

However, that is what I would expect from the tag names, but it has nothing to 
do with your description. CMP should always see the entity beans with their 
current state in the transaction. It will (possibly, definately with the 
configuration above) not be the same as the database view, but should be 
consistent.

When the database state needs to be the same, you should set the above flag to 
false, but your transaction isolation level will probably not let you see the 
changes anyway as they are not committed yet.

Joachim

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to