spring-framework / org.springframework.orm.jpa / DefaultJpaDialect / releaseJdbcConnection

releaseJdbcConnection

open fun releaseJdbcConnection(conHandle: ConnectionHandle, em: EntityManager): Unit

Overrides JpaDialect.releaseJdbcConnection

This implementation does nothing, assuming that the Connection will implicitly be closed with the EntityManager.

If the JPA implementation returns a Connection handle that it expects the application to close after use, the dialect implementation needs to invoke Connection.close() (or some other method with similar effect) here.

See Also
java.sql.Connection#close()