Uses of Interface
org.springframework.jdbc.datasource.ConnectionHandle
Package
Description
Provides a utility class for easy DataSource access,
a PlatformTransactionManager for a single DataSource,
and various simple DataSource implementations.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
Support classes for adapting to specific JPA vendors.
-
Uses of ConnectionHandle in org.springframework.jdbc.datasource
Modifier and TypeClassDescriptionclass
Simple implementation of theConnectionHandle
interface, containing a given JDBC Connection.Modifier and TypeMethodDescriptionConnectionHolder.getConnectionHandle()
Return the ConnectionHandle held by this ConnectionHolder.ModifierConstructorDescriptionConnectionHolder
(ConnectionHandle connectionHandle) Create a new ConnectionHolder for the given ConnectionHandle. -
Uses of ConnectionHandle in org.springframework.orm.jpa
Modifier and TypeMethodDescriptionDefaultJpaDialect.getJdbcConnection
(EntityManager entityManager, boolean readOnly) This implementation always returnsnull
, indicating that no JDBC Connection can be provided.JpaDialect.getJdbcConnection
(EntityManager entityManager, boolean readOnly) Retrieve the JDBC Connection that the given JPA EntityManager uses underneath, if accessing a relational database.Modifier and TypeMethodDescriptionvoid
DefaultJpaDialect.releaseJdbcConnection
(ConnectionHandle conHandle, EntityManager em) This implementation does nothing, assuming that the Connection will implicitly be closed with the EntityManager.void
JpaDialect.releaseJdbcConnection
(ConnectionHandle conHandle, EntityManager entityManager) Release the given JDBC Connection, which has originally been retrieved viagetJdbcConnection
. -
Uses of ConnectionHandle in org.springframework.orm.jpa.vendor
Modifier and TypeMethodDescriptionEclipseLinkJpaDialect.getJdbcConnection
(EntityManager entityManager, boolean readOnly) HibernateJpaDialect.getJdbcConnection
(EntityManager entityManager, boolean readOnly)