This content has been marked as final.
Show 3 replies
-
1. Re: Optimistic Locking - does it work in 3.2.1 at all?
didi1976 Jul 2, 2003 6:26 AM (in response to vanitas)Hi,
you have to use an other container-configuration.
Just add
<configuration-name>Instance Per Transaction CMP 2.x EntityBean</configuration-name>
to your entity bean in jboss.xml. That solved our concurrency problems.
Didi -
2. Re: Optimistic Locking - does it work in 3.2.1 at all?
vanitas Jul 3, 2003 5:02 PM (in response to vanitas)Hi,
Thanks a lot for your answer :). Switching to the container-configuration solved our concurency problems, but another problem arised: it seems that the container is now not caching entities between transactions :( even we set commit-option to A. Do you have the same problem, or is it some other misconfiguration in our jboss?
best regards,
greg -
3. Re: Optimistic Locking - does it work in 3.2.1 at all?
didi1976 Jul 4, 2003 4:51 AM (in response to vanitas)Hi,
you are right. That is the disadvantage of that configuration. Caching is not available between transactions for that container configuration.
best regards,
Dietmar