org.seasar.extension.jdbc.impl
クラス BasicSelectHandler

java.lang.Object
  拡張org.seasar.extension.jdbc.impl.BasicHandler
      拡張org.seasar.extension.jdbc.impl.BasicSelectHandler
すべての実装インタフェース:
SelectHandler

public class BasicSelectHandler
extends BasicHandler
implements SelectHandler

作成者:
higa

コンストラクタの概要
BasicSelectHandler()
           
BasicSelectHandler(DataSource dataSource, String sql, ResultSetHandler resultSetHandler)
           
BasicSelectHandler(DataSource dataSource, String sql, ResultSetHandler resultSetHandler, StatementFactory statementFactory, ResultSetFactory resultSetFactory)
           
 
メソッドの概要
protected  ResultSet createResultSet(PreparedStatement ps)
           
 Object execute(Connection connection, Object[] args, Class[] argTypes)
           
 Object execute(Object[] args)
           
 Object execute(Object[] args, Class[] argTypes)
           
protected  Object execute(PreparedStatement ps)
           
 int getFetchSize()
           
 int getMaxRows()
           
 ResultSetFactory getResultSetFactory()
           
 ResultSetHandler getResultSetHandler()
           
protected  PreparedStatement prepareStatement(Connection connection)
           
 void setFetchSize(int fetchSize)
           
 void setMaxRows(int maxRows)
           
 void setResultSetFactory(ResultSetFactory resultSetFactory)
           
 void setResultSetHandler(ResultSetHandler resultSetHandler)
           
protected  Object[] setup(Connection con, Object[] args)
           
protected  void setupDatabaseMetaData(DatabaseMetaData dbMetaData)
           
 
クラス org.seasar.extension.jdbc.impl.BasicHandler から継承したメソッド
bindArgs, getArgTypes, getBindVariableText, getCompleteSql, getConnection, getDataSource, getSql, getStatementFactory, getValueType, setDataSource, setSql, setStatementFactory
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicSelectHandler

public BasicSelectHandler()

BasicSelectHandler

public BasicSelectHandler(DataSource dataSource,
                          String sql,
                          ResultSetHandler resultSetHandler)

BasicSelectHandler

public BasicSelectHandler(DataSource dataSource,
                          String sql,
                          ResultSetHandler resultSetHandler,
                          StatementFactory statementFactory,
                          ResultSetFactory resultSetFactory)
メソッドの詳細

getResultSetFactory

public ResultSetFactory getResultSetFactory()

setResultSetFactory

public void setResultSetFactory(ResultSetFactory resultSetFactory)

getResultSetHandler

public ResultSetHandler getResultSetHandler()

setResultSetHandler

public void setResultSetHandler(ResultSetHandler resultSetHandler)

getFetchSize

public int getFetchSize()

setFetchSize

public void setFetchSize(int fetchSize)

getMaxRows

public int getMaxRows()

setMaxRows

public void setMaxRows(int maxRows)

execute

public Object execute(Object[] args)
               throws org.seasar.framework.exception.SQLRuntimeException
定義:
インタフェース SelectHandler 内の execute
例外:
org.seasar.framework.exception.SQLRuntimeException
関連項目:
SelectHandler.execute(java.lang.Object[])

execute

public Object execute(Object[] args,
                      Class[] argTypes)
               throws org.seasar.framework.exception.SQLRuntimeException
定義:
インタフェース SelectHandler 内の execute
例外:
org.seasar.framework.exception.SQLRuntimeException

execute

public Object execute(Connection connection,
                      Object[] args,
                      Class[] argTypes)
               throws org.seasar.framework.exception.SQLRuntimeException
例外:
org.seasar.framework.exception.SQLRuntimeException

setup

protected Object[] setup(Connection con,
                         Object[] args)

prepareStatement

protected PreparedStatement prepareStatement(Connection connection)
オーバーライド:
クラス BasicHandler 内の prepareStatement

execute

protected Object execute(PreparedStatement ps)
                  throws SQLException
例外:
SQLException

setupDatabaseMetaData

protected void setupDatabaseMetaData(DatabaseMetaData dbMetaData)

createResultSet

protected ResultSet createResultSet(PreparedStatement ps)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.