hibernate-orm/hibernate-c3p0/hibernate-c3p0.gradle
Shawn Clowater b09e2729c0 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.
2012-03-29 13:03:56 -05:00

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' )
}