Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleConnectionHandle
Simple implementation of the
ConnectionHandle interface,
containing a given JDBC Connection. |
Modifier and Type | Method and Description |
---|---|
ConnectionHandle |
ConnectionHolder.getConnectionHandle()
Return the ConnectionHandle held by this ConnectionHolder.
|
Constructor and Description |
---|
ConnectionHolder(ConnectionHandle connectionHandle)
Create a new ConnectionHolder for the given ConnectionHandle.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ConnectionHandle |
HibernateJpaDialect.getJdbcConnection(javax.persistence.EntityManager entityManager,
boolean readOnly) |
ConnectionHandle |
EclipseLinkJpaDialect.getJdbcConnection(javax.persistence.EntityManager em,
boolean readOnly) |
ConnectionHandle |
OpenJpaDialect.getJdbcConnection(javax.persistence.EntityManager entityManager,
boolean readOnly) |
ConnectionHandle |
TopLinkJpaDialect.getJdbcConnection(javax.persistence.EntityManager em,
boolean readOnly)
Deprecated.
|
Copyright © 2015. All rights reserved.