jp.go.nict.langrid.wrapper.common.db.dao
クラス AbstractDao

java.lang.Object
  上位を拡張 jp.go.nict.langrid.wrapper.common.db.dao.AbstractDao
直系の既知のサブクラス:
BasicEntityDao, MetaDao

public abstract class AbstractDao
extends Object

バージョン:
$Revision: 4856 $
作成者:
Takao Nakaguchi, $Author: nakaguchi $

コンストラクタの概要
AbstractDao(ConnectionManager connectionManager)
           
 
メソッドの概要
protected  Connection beginTransaction()
           
protected  void closeConnection(Connection connection)
           
protected  void closeConnection(Connection connection, Throwable exception)
           
protected  void commitTransaction(Connection connection)
           
protected  Connection getConnection()
           
protected  void rollbackTransaction(Connection connection)
           
protected  void rollbackTransaction(Connection connection, Throwable exception)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AbstractDao

public AbstractDao(ConnectionManager connectionManager)
メソッドの詳細

getConnection

protected Connection getConnection()
                            throws DaoException
例外:
DaoException

closeConnection

protected void closeConnection(Connection connection)
                        throws DaoException
例外:
DaoException

closeConnection

protected void closeConnection(Connection connection,
                               Throwable exception)
                        throws DaoException
例外:
DaoException

beginTransaction

protected Connection beginTransaction()
                               throws DaoException
例外:
DaoException

commitTransaction

protected void commitTransaction(Connection connection)
                          throws DaoException
例外:
DaoException

rollbackTransaction

protected void rollbackTransaction(Connection connection)
                            throws DaoException
例外:
DaoException

rollbackTransaction

protected void rollbackTransaction(Connection connection,
                                   Throwable exception)
                            throws DaoException
例外:
DaoException