Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-orm
Commit: b09e2729c0e63491d794544a738ae4133dceeaf4
https://github.com/hibernate/hibernate-orm/commit/b09e2729c0e63491d794544...
Author: Shawn Clowater <Shawn.Clowater(a)entero.com>
Date: 2012-03-29 (Thu, 29 Mar 2012)
Changed paths:
M hibernate-c3p0/hibernate-c3p0.gradle
A hibernate-c3p0/src/test/java/org/hibernate/test/c3p0/IrrelevantEntity.java
A hibernate-c3p0/src/test/java/org/hibernate/test/c3p0/StatementCacheTest.java
M hibernate-c3p0/src/test/resources/hibernate.properties
M
hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/AbstractBatchImpl.java
Log Message:
-----------
HHH-7193
Added clearBatch() to the releaseStatements() of AbstractBatchImpl in order to prevent
batches from rolled back transactions being applied.
Added StatementCacheTest to illustrate the issue.
Added a validator dependency for c3p0 tests since I needed to have the batch semi
aborted.
Commit: fd9d168d192688b6ac22130d30fbc10b4d69d9f5
https://github.com/hibernate/hibernate-orm/commit/fd9d168d192688b6ac22130...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2012-03-29 (Thu, 29 Mar 2012)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/AbstractBatchImpl.java
Log Message:
-----------
HHH-7193 - Transaction Rollback not clearing statement batch on Prepared Statement
causes issues with statement caching
Compare:
https://github.com/hibernate/hibernate-orm/compare/2f62c21...fd9d168