It is called but the synchronization does not occur, right? Till the 3.2.2 it was not easy to avoid this. I'll look at it.
Pedro Salazar wrote:
Greetings,
Why is that my entity beans are always calling the ejbStore() (I put there a print message to watch) when I'm not updating none of them? I even put the jboss.persistence the tag read-only to "true"!!!
@jboss.persistence
* datasource="java:/OracleDS"
* datasource-mapping="Oracle9i"
* create-table="false" * remove-table="false"
* read-only="true"
* pk-constraint="true"
* table-name="uif_service"
* row-locking="false"
* read-time-out="300"
* list-cache-max="1000"
I would like that those entity beans make cache and avoid that always going synchronizing to database when nothing occurs.
I pretend also to put them to read-only and when I update them through a JDBC stored procedure, make something to invalidate the cache or using the most read-only polite (some for RW and others for RO).
Any ideas why is it calling always the ejbStore()?
thanks, Pedro Salazar.
------------------------------------------------------- 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