Tristan Tarrant píše v Thu 24. 05. 2012 v 09:02 +0200:
> On 05/23/2012 09:31 PM, Dan Berindei wrote:
>> On Wed, May 23, 2012 at 9:06 PM, Sanne Grinovero<sanne(a)infinispan.org>
wrote:
>>> Nice work Martin!
>>>
>>> Just one doubt, especially since it's a rather long post.. why would
>>> someone want to use c3p0 on AS7 ? Isn't the included datasource pool
>>> far superior?
>>>
>> The AS7 datasource tries to join the cache transaction, but that won't
>> work because it's too late (we only write to the cache store during
>> commit). Martin alluded to that problem, but he wasn't very specific -
>> he just pointed at
https://issues.jboss.org/browse/ISPN-604
>>
>> Martin, I think it would have been best if you listed the error
>> message as well so any users having the same problem can find your
>> post.
>>
> Actually since the inclusion of ISPN-2040 in master, 5.1.x and JDG, that
> is not strictly true anymore...
Not strictly but still true, right? What happens when there is a
transaction and it rolls back? Will the entry be removed back from the
cache store? If yea, why is this marked as workaround?
It doesn't actually
implement proper transactional behaviour. It's just
that the error may not be there anymore.
Tristan