On Wed, 2003-11-12 at 16:30, Alexey Loubyansky wrote:
The store() is called each time when the synchronization should occur according to the spec.
The question is when and why the synchronization occurs? Why is that the JBOSS is requiring synchronization? Has the cluster option have anything to do it? - However, I declared my entity beans as read-only...
I just looked at your original post: @jboss.persistence * read-only="true"
This will set read-only in jbosscmp-jdbc.xml. To achieve the behaviour you want, i.e. instances should not be associated with tx and avoid sync, you need read-only in jboss.xml.
You should use * @jboss.read-only read-only="true"
This will put read-only in both jbosscmp-jdbc.xml and jboss.xml
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user