Yes, remove is not transactional, go ahead and remove the bean
from the cache. But I disagree with the following:
> |I agree with Bill - removing everything involved in the rolled-back
> |transaction from the cache is a must.
> |
> |-danch
> |
> |Bill Burke wrote:
> |
> |> Nope, with the old code, B would be removed from the cache when
> |b.remove()
> |> was called even if it was invoked from within a transaction. Also, all
> |> beans involved with a transaction would be removed from the cache on a
> |> rollback within InstanceSynchronization.
> |>
> |> I think that is the safe and correct approach to remove any bean from the
> |> cache that is part of a rollback. Otherwise you may have corrupted data.
> |>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development