|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConnectionHandle | |
---|---|
org.springframework.jdbc.datasource | Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations. |
org.springframework.orm.jdo | Package providing integration of JDO (Java Date Objects) with Spring concepts. |
org.springframework.orm.jpa | Package providing integration of JPA (Java Persistence API) with Spring concepts. |
org.springframework.orm.jpa.vendor | Support classes for adapting to specific JPA vendors. |
Uses of ConnectionHandle in org.springframework.jdbc.datasource |
---|
Classes in org.springframework.jdbc.datasource that implement ConnectionHandle | |
---|---|
class |
SimpleConnectionHandle
Simple implementation of the ConnectionHandle interface,
containing a given JDBC Connection. |
Methods in org.springframework.jdbc.datasource that return ConnectionHandle | |
---|---|
ConnectionHandle |
ConnectionHolder.getConnectionHandle()
Return the ConnectionHandle held by this ConnectionHolder. |
Constructors in org.springframework.jdbc.datasource with parameters of type ConnectionHandle | |
---|---|
ConnectionHolder(ConnectionHandle connectionHandle)
Create a new ConnectionHolder for the given ConnectionHandle. |
Uses of ConnectionHandle in org.springframework.orm.jdo |
---|
Methods in org.springframework.orm.jdo that return ConnectionHandle | |
---|---|
ConnectionHandle |
JdoDialect.getJdbcConnection(javax.jdo.PersistenceManager pm,
boolean readOnly)
Retrieve the JDBC Connection that the given JDO PersistenceManager uses underneath, if accessing a relational database. |
ConnectionHandle |
DefaultJdoDialect.getJdbcConnection(javax.jdo.PersistenceManager pm,
boolean readOnly)
This implementation returns a DataStoreConnectionHandle for JDO2, which will also work on JDO1 until actually accessing the JDBC Connection. |
Methods in org.springframework.orm.jdo with parameters of type ConnectionHandle | |
---|---|
void |
JdoDialect.releaseJdbcConnection(ConnectionHandle conHandle,
javax.jdo.PersistenceManager pm)
Release the given JDBC Connection, which has originally been retrieved via getJdbcConnection . |
void |
DefaultJdoDialect.releaseJdbcConnection(ConnectionHandle conHandle,
javax.jdo.PersistenceManager pm)
This implementation does nothing, assuming that the Connection will implicitly be closed with the PersistenceManager. |
Uses of ConnectionHandle in org.springframework.orm.jpa |
---|
Methods in org.springframework.orm.jpa that return ConnectionHandle | |
---|---|
ConnectionHandle |
JpaDialect.getJdbcConnection(javax.persistence.EntityManager entityManager,
boolean readOnly)
Retrieve the JDBC Connection that the given JPA EntityManager uses underneath, if accessing a relational database. |
ConnectionHandle |
DefaultJpaDialect.getJdbcConnection(javax.persistence.EntityManager entityManager,
boolean readOnly)
This implementation always returns null ,
indicating that no JDBC Connection can be provided. |
Methods in org.springframework.orm.jpa with parameters of type ConnectionHandle | |
---|---|
void |
JpaDialect.releaseJdbcConnection(ConnectionHandle conHandle,
javax.persistence.EntityManager entityManager)
Release the given JDBC Connection, which has originally been retrieved via getJdbcConnection . |
void |
DefaultJpaDialect.releaseJdbcConnection(ConnectionHandle conHandle,
javax.persistence.EntityManager em)
This implementation does nothing, assuming that the Connection will implicitly be closed with the EntityManager. |
Uses of ConnectionHandle in org.springframework.orm.jpa.vendor |
---|
Methods in org.springframework.orm.jpa.vendor that return ConnectionHandle | |
---|---|
ConnectionHandle |
TopLinkJpaDialect.getJdbcConnection(javax.persistence.EntityManager em,
boolean readOnly)
|
ConnectionHandle |
OpenJpaDialect.getJdbcConnection(javax.persistence.EntityManager entityManager,
boolean readOnly)
|
ConnectionHandle |
HibernateJpaDialect.getJdbcConnection(javax.persistence.EntityManager entityManager,
boolean readOnly)
|
Methods in org.springframework.orm.jpa.vendor with parameters of type ConnectionHandle | |
---|---|
void |
OpenJpaDialect.releaseJdbcConnection(ConnectionHandle conHandle,
javax.persistence.EntityManager em)
|
|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |