spring-framework/org.springframework.jdbc
Oliver Gierke 0769d53a6a Use transactional connection during db population
Previously, DatabasePopulatorUtils#execute looked up a Connection from
the given DataSource directly which resulted in the executed statements
not being executed against a transactional connection (if any) which in
turn resulted in the statements executed by the populator potentially
not being rolled back.

Now DataSourceUtils#getConnection is used to transparently take part in
any active transaction and #releaseConnection is used to ensure the
connection is closed if appropriate.

Issue: SPR-9465
Backport-Issue: SPR-9457
Backport-Commit: 49c9a2a915
2012-06-27 23:06:04 +02:00
..
.settings
src Use transactional connection during db population 2012-06-27 23:06:04 +02:00
.classpath
.project
build.xml
ivy.xml
jdbc.iml
pom.xml Increment version to 3.1.2.BUILD-SNAPSHOT 2012-02-16 15:38:16 -08:00
template.mf