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

java.lang.Object
  拡張org.seasar.extension.jdbc.impl.BasicHandler
直系の既知のサブクラス:
BasicBatchHandler, BasicSelectHandler, BasicUpdateHandler

public class BasicHandler
extends Object

作成者:
higa

コンストラクタの概要
BasicHandler()
           
BasicHandler(DataSource ds, String sql)
           
BasicHandler(DataSource ds, String sql, StatementFactory statementFactory)
           
 
メソッドの概要
protected  void bindArgs(PreparedStatement ps, Object[] args, Class[] argTypes)
           
protected  Class[] getArgTypes(Object[] args)
           
protected  String getBindVariableText(Object bindVariable)
           
protected  String getCompleteSql(Object[] args)
           
protected  Connection getConnection()
           
 DataSource getDataSource()
           
 String getSql()
           
 StatementFactory getStatementFactory()
           
protected  ValueType getValueType(Class clazz)
           
protected  PreparedStatement prepareStatement(Connection connection)
           
 void setDataSource(DataSource dataSource)
           
 void setSql(String sql)
           
 void setStatementFactory(StatementFactory statementFactory)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BasicHandler

public BasicHandler()

BasicHandler

public BasicHandler(DataSource ds,
                    String sql)

BasicHandler

public BasicHandler(DataSource ds,
                    String sql,
                    StatementFactory statementFactory)
メソッドの詳細

getDataSource

public DataSource getDataSource()

setDataSource

public void setDataSource(DataSource dataSource)

getSql

public String getSql()

setSql

public void setSql(String sql)

getStatementFactory

public StatementFactory getStatementFactory()

setStatementFactory

public void setStatementFactory(StatementFactory statementFactory)

getConnection

protected Connection getConnection()

prepareStatement

protected PreparedStatement prepareStatement(Connection connection)

bindArgs

protected void bindArgs(PreparedStatement ps,
                        Object[] args,
                        Class[] argTypes)

getArgTypes

protected Class[] getArgTypes(Object[] args)

getCompleteSql

protected String getCompleteSql(Object[] args)

getBindVariableText

protected String getBindVariableText(Object bindVariable)

getValueType

protected ValueType getValueType(Class clazz)


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