类的使用
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.hibernate5package.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的子类 修饰符和类型 类 说明 classCannotCreateRecordExceptionException thrown when the creating of a CCI Record failed for connector-internal reasons.classCannotGetCciConnectionExceptionFatal exception thrown when we can't connect to an EIS using CCI.org.springframework.jdbc中DataAccessResourceFailureException的使用
org.springframework.jdbc中DataAccessResourceFailureException的子类 修饰符和类型 类 说明 classCannotGetJdbcConnectionExceptionFatal 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 SessionHibernateDaoSupport. currentSession()Conveniently obtain the current Hibernate Session.protected SessionOpenSessionInterceptor. openSession()已过时。as of 5.0, in favor ofOpenSessionInterceptor.openSession(SessionFactory)protected SessionOpenSessionInterceptor. openSession(SessionFactory sessionFactory)Open a Session for the given SessionFactory.protected SessionOpenSessionInViewFilter. openSession(SessionFactory sessionFactory)Open a Session for the SessionFactory that this filter uses.protected SessionOpenSessionInViewInterceptor. openSession()Open a Session for the SessionFactory that this interceptor uses.org.springframework.orm.jpa中DataAccessResourceFailureException的使用
抛出DataAccessResourceFailureException的org.springframework.orm.jpa中的方法 修饰符和类型 方法 说明 static EntityManagerEntityManagerFactoryUtils. getTransactionalEntityManager(EntityManagerFactory emf)Obtain a JPA EntityManager from the given factory.static EntityManagerEntityManagerFactoryUtils. getTransactionalEntityManager(EntityManagerFactory emf, Map<?,?> properties)Obtain a JPA EntityManager from the given factory.