Uses of Interface
org.springframework.jdbc.datasource.ConnectionHandle
Packages that use 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
Classes in org.springframework.jdbc.datasource that implement ConnectionHandleModifier and TypeClassDescriptionclass
Simple implementation of theConnectionHandle
interface, containing a given JDBC Connection.Methods in org.springframework.jdbc.datasource that return ConnectionHandleModifier and TypeMethodDescriptionConnectionHolder.getConnectionHandle()
Return the ConnectionHandle held by this ConnectionHolder.Constructors in org.springframework.jdbc.datasource with parameters of type ConnectionHandleModifierConstructorDescriptionConnectionHolder
(ConnectionHandle connectionHandle) Create a new ConnectionHolder for the given ConnectionHandle. -
Uses of ConnectionHandle in org.springframework.orm.jpa
Methods in org.springframework.orm.jpa that return ConnectionHandleModifier 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.Methods in org.springframework.orm.jpa with parameters of type ConnectionHandleModifier 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
Methods in org.springframework.orm.jpa.vendor that return ConnectionHandleModifier and TypeMethodDescriptionEclipseLinkJpaDialect.getJdbcConnection
(EntityManager entityManager, boolean readOnly) HibernateJpaDialect.getJdbcConnection
(EntityManager entityManager, boolean readOnly)