mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 03:38:16 +00:00
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.
13 lines
296 B
Groovy
13 lines
296 B
Groovy
apply plugin: 'java'
|
|
|
|
dependencies {
|
|
provided( libraries.validation )
|
|
compile project( ':hibernate-core' )
|
|
compile "c3p0:c3p0:0.9.1"
|
|
|
|
testCompile( libraries.validator ) {
|
|
// for test runtime
|
|
transitive = true
|
|
}
|
|
testCompile project( ':hibernate-testing' )
|
|
} |