Package | Description |
---|---|
org.springframework.jca.cci |
This package contains Spring's support for the Common Client Interface (CCI),
as defined by the J2EE Connector Architecture.
|
org.springframework.jdbc |
The classes in this package make JDBC easier to use and
reduce the likelihood of common errors.
|
org.springframework.orm.hibernate5.support |
Classes supporting the
org.springframework.orm.hibernate5 package. |
org.springframework.orm.jpa |
Package providing integration of JPA (Java Persistence API) with Spring concepts.
|
Modifier and Type | Class and Description |
---|---|
class |
CannotCreateRecordException
Deprecated.
as of 5.3, in favor of specific data access APIs
(or native CCI usage if there is no alternative)
|
class |
CannotGetCciConnectionException
Deprecated.
as of 5.3, in favor of specific data access APIs
(or native CCI usage if there is no alternative)
|
Modifier and Type | Class and Description |
---|---|
class |
CannotGetJdbcConnectionException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.
|
Modifier and Type | Method and Description |
---|---|
protected Session |
HibernateDaoSupport.currentSession()
Conveniently obtain the current Hibernate Session.
|
protected Session |
OpenSessionInterceptor.openSession()
Deprecated.
as of 5.0, in favor of
OpenSessionInterceptor.openSession(SessionFactory) |
protected Session |
OpenSessionInViewInterceptor.openSession()
Open a Session for the SessionFactory that this interceptor uses.
|
protected Session |
OpenSessionInViewFilter.openSession(SessionFactory sessionFactory)
Open a Session for the SessionFactory that this filter uses.
|
protected Session |
OpenSessionInterceptor.openSession(SessionFactory sessionFactory)
Open a Session for the given SessionFactory.
|
Modifier and Type | Method and Description |
---|---|
static EntityManager |
EntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactory emf)
Obtain a JPA EntityManager from the given factory.
|
static EntityManager |
EntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactory emf,
Map<?,?> properties)
Obtain a JPA EntityManager from the given factory.
|