I am using CMP 2.0 Entity Beans in JBoss v3.2.6 I am calling EntityBean from within a Stateless Session Bean method. The stateless Session Bean method has transaction attribute set to TX_REQUIRED.
In the Stateless Session Bean method, I am doing a JDBC read after the entity bean update, but the JDBC read is not picking up the updates done by entity bean. Is there any method available in the J2EE container in JBoss which will allow me to flush the entitybean updates, so that the subsequent JDBC read will pick up these updates. I have seen that if I call any EntityBean finder (not necessarily the one that I updated) before doing a JDBC read, it seems to be doing the trick. But I am just wondering if there is some API in JBoss container, which is allow me to do a flush of pending updates before the end of the transaction. Thanks Ram View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066632#4066632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066632 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user