クラスの使用
org.springframework.dao.DataAccessResourceFailureException
DataAccessResourceFailureException を使用するパッケージ
パッケージ
説明
このパッケージのクラスにより、JDBC が使いやすくなり、一般的なエラーの可能性が低くなります。
org.springframework.orm.hibernate5 パッケージをサポートするクラス。JPA(Java Persistence API)と Spring コンセプトの統合を提供するパッケージ。
org.springframework.jdbc 内の DataAccessResourceFailureException 使用
org.springframework.orm.hibernate5.support 内の DataAccessResourceFailureException 使用
修飾子と型メソッド説明protected final SessionHibernateDaoSupport.currentSession()現在の Hibernate セッションを便利に取得します。protected SessionOpenSessionInterceptor.openSession(SessionFactory sessionFactory) 指定された SessionFactory のセッションを開きます。protected SessionOpenSessionInViewFilter.openSession(SessionFactory sessionFactory) このフィルターが使用する SessionFactory のセッションを開きます。protected SessionOpenSessionInViewInterceptor.openSession()このインターセプターが使用する SessionFactory のセッションを開きます。org.springframework.orm.jpa 内の DataAccessResourceFailureException 使用
修飾子と型メソッド説明static EntityManagerEEEntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactoryEE emf) 指定されたファクトリから JPA EntityManager を取得します。static EntityManagerEEEntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactoryEE emf, MapSE<?, ?> properties) 指定されたファクトリから JPA EntityManager を取得します。