We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbaa26 commit a9e2040Copy full SHA for a9e2040
spring-orm/src/main/java/org/springframework/orm/jpa/vendor/HibernateJpaVendorAdapter.java
@@ -172,7 +172,7 @@ else if (getDatabase() != null) {
172
jpaProperties.put(Environment.SHOW_SQL, "true");
173
}
174
175
- if (this.jpaDialect.prepareConnection) {
+ if (connectionReleaseOnClose) {
176
// Hibernate 5.1/5.2: manually enforce connection release mode ON_CLOSE (the former default)
177
try {
178
// Try Hibernate 5.2
0 commit comments