jp.go.nict.langrid.dao.hibernate
クラス HibernateDao
java.lang.Object
jp.go.nict.langrid.dao.hibernate.HibernateDao
- 直系の既知のサブクラス:
- HibernateAcceptableRemoteAddressDao, HibernateCRUDDao, HibernateInvocationDao, HibernateNewsDao, HibernateOperationRequestDao, HibernateOverUseStateDao, HibernateServiceActionScheduleDao, HibernateServiceDeploymentDao
public class HibernateDao
- extends Object
Hibernateで実装されたDAOの基底クラス。
- バージョン:
- $Revision:4384 $
- 作成者:
- $Author:nakaguchi $
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateDao
public HibernateDao(HibernateDaoContext context)
- コンストラクタ。
- パラメータ:
context
- DaoContext
getContext
public HibernateDaoContext getContext()
- DaoContextを取得する。
- 戻り値:
- DaoContext
getSession
protected org.hibernate.Session getSession()
throws org.hibernate.HibernateException
- 例外:
org.hibernate.HibernateException
deleteEntities
protected void deleteEntities(Class<?> entityClass)
throws DaoException
- 例外:
DaoException
transact
protected void transact(HibernateDao.DaoBlock block)
throws DaoException
- 例外:
DaoException
transact
protected <T> T transact(HibernateDao.DaoBlockR<T> block)
throws DaoException
- 例外:
DaoException
createDeleteQuery
protected org.hibernate.Query createDeleteQuery(Class<?> clazz)
throws org.hibernate.HibernateException
- 例外:
org.hibernate.HibernateException
createDeleteQuery
protected org.hibernate.Query createDeleteQuery(Class<?> clazz,
String whereClause)
throws org.hibernate.HibernateException
- 例外:
org.hibernate.HibernateException
logAdditionalInfo
protected static void logAdditionalInfo(RuntimeException exception)
logWhenRollbacking
protected static void logWhenRollbacking(Exception e)