org.seasar.extension.jdbc.impl
クラス BasicHandler
java.lang.Object
org.seasar.extension.jdbc.impl.BasicHandler
- 直系の既知のサブクラス:
- BasicBatchHandler, BasicSelectHandler, BasicUpdateHandler
- public class BasicHandler
- extends Object
- 作成者:
- higa
クラス 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.