hibernate/hibernate-orm — pull request #292 by ShawnClowater (2012-03-21 22:30:40+00:00)
Title: 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.