Are 1. and 3. peformed in the same transaction? If so, this is the expected behaviour.

Rafal Kedziorski wrote:

At 12:24 25.11.2003, Alexey Loubyansky wrote:

Why do you think so?


Cause we can see it. We have a folder table. We don't want that JBoss is caching entities from this table, cause we use SQL to make some updates in this table.

Out container-configuration looks so:

<container-configurations>
<container-configuration extends="Standard CMP 2.x EntityBean">
<container-name>Standard CMP 2.x EntityBean with Commit Option C</container-name>
<commit-option>C</commit-option>
</container-configuration>
</container-configurations>


Wo do this:

1. get folder by findByPrimaryKey() from folder entity bean in one transaction

2. in other transaction (new call from client) we change position in some foldert thru direct SQL, while faster

3. the same call like 1., but the entities comes from cache, while we get old positions. In web-console we see the actual cache size for this entity bean and after flush cache we get the right values.

We are using JBoss 3.2.2.


Regards, Rafal


Rafal Kedziorski wrote:

hi,
it's possible to switch off caching in Entity Beans? We user Commit Option C, but JBoss is caching the entities.


Regards,
Rafal




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to