类的使用
org.springframework.dao.DataAccessResourceFailureException
使用DataAccessResourceFailureException的程序包 程序包 说明 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 theorg.springframework.orm.hibernate5
package.org.springframework.orm.jpa Package providing integration of JPA (Java Persistence API) with Spring concepts.org.springframework.jca.cci中DataAccessResourceFailureException的使用
org.springframework.jca.cci中DataAccessResourceFailureException的子类 修饰符和类型 类 说明 class
CannotCreateRecordException
Exception thrown when the creating of a CCI Record failed for connector-internal reasons.class
CannotGetCciConnectionException
Fatal exception thrown when we can't connect to an EIS using CCI.org.springframework.jdbc中DataAccessResourceFailureException的使用
org.springframework.jdbc中DataAccessResourceFailureException的子类 修饰符和类型 类 说明 class
CannotGetJdbcConnectionException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.org.springframework.orm.hibernate5.support中DataAccessResourceFailureException的使用
抛出DataAccessResourceFailureException的org.springframework.orm.hibernate5.support中的方法 修饰符和类型 方法 说明 protected Session
HibernateDaoSupport. currentSession()
Conveniently obtain the current Hibernate Session.protected Session
OpenSessionInterceptor. openSession()
已过时。as of 5.0, in favor ofOpenSessionInterceptor.openSession(SessionFactory)
protected Session
OpenSessionInterceptor. openSession(SessionFactory sessionFactory)
Open a Session for the given SessionFactory.protected Session
OpenSessionInViewFilter. openSession(SessionFactory sessionFactory)
Open a Session for the SessionFactory that this filter uses.protected Session
OpenSessionInViewInterceptor. openSession()
Open a Session for the SessionFactory that this interceptor uses.org.springframework.orm.jpa中DataAccessResourceFailureException的使用
抛出DataAccessResourceFailureException的org.springframework.orm.jpa中的方法 修饰符和类型 方法 说明 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.