[infinispan-dev] PutForExternalRead and autoCommit

Slorg1 slorg1 at gmail.com
Tue Nov 22 14:13:48 EST 2011


Hi,

I would like to take some time and make a proper answer to Galder,

However, for this quick remark please see below:

On Tue, Nov 22, 2011 at 14:07, Mircea Markus <mircea.markus at jboss.com> wrote:
>
> On 17 Nov 2011, at 15:25, Galder Zamarreño wrote:
>
>> For more background info, see: http://community.jboss.org/message/636797#636797
>
> I also think this might be confusing for users.
> What about:
> a) don't inject a transaction for PFER. That's an easy change.
> b) if autoCommit is off and PFER is not invoked in the scope of a tx we can either warn or throw an exception. Or just ignore.

I think that is the cache is set to TRANSACTIONAL, auto commit should
be always off (is it not the point of transactions?) and as you point
out using the cache outside of the scope of a transaction should be
prohibited.

> The problem is that we inject the transaction twice.

I do not understand that statement, is it related to a or b or neither?

Regards,

Slorg1.

-- 
Please consider the environment - do you really need to print this email ?



More information about the infinispan-dev mailing list