[hibernate-dev] [ISPN-6] COMMITTED tx status handling changed from JBC to ISPN

Steve Ebersole steve at hibernate.org
Tue Aug 18 14:25:27 EDT 2009


On Tue, 2009-08-18 at 16:50 +0200, Galder Zamarreno wrote:
> 
> This change of behaivour is making Infinispan cache provider tests that 
> do bulk modifications to fail. The reason it fails is because Hibernate 
> has a javax.transaction.Synchronization implementation called 
> CacheSynchronization that in it's afterCompletion(), it leads to call 
> BulkOperationCleanupAction.evictEntityRegions() which clears the cache 
> for the affected entities. Now, since the tx status is COMMITTED, the 
> test fails.
This is no longer accurate.  There was a bug in how
BulkOperationCleanupAction worked because it was still using the older
Hibrnate cache SPIs.  See
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4034


-- 
Steve Ebersole <steve at hibernate.org>
Hibernate.org




More information about the hibernate-dev mailing list