|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.jdbc.impl.ConfigurableStatementFactory
Statement
をカスタマイズするためのファクトリです。
フィールドの概要 | |
protected Integer |
fetchSize
フェッチサイズです。 |
protected Integer |
maxRows
最大行数です。 |
protected Integer |
queryTimeout
クエリのタイムアウトです。 |
protected StatementFactory |
statementFactory
StatementFactory です。 |
コンストラクタの概要 | |
ConfigurableStatementFactory(StatementFactory statementFactory)
ConfigurableStatementFactory を作成します。 |
メソッドの概要 | |
protected void |
configurePreparedStatement(PreparedStatement ps)
PreparedStatement をカスタマイズします。 |
CallableStatement |
createCallableStatement(Connection con,
String sql)
ストアドプロシージャ用の文を作成します。 |
PreparedStatement |
createPreparedStatement(Connection con,
String sql)
準備された文を作成します。 |
void |
setFetchSize(Integer fetchSize)
フェッチサイズを設定します。 |
void |
setMaxRows(Integer maxRows)
最大行数を設定します。 |
void |
setQueryTimeout(Integer queryTimeout)
クエリタイムアウトを設定します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected StatementFactory statementFactory
StatementFactory
です。
protected Integer fetchSize
protected Integer maxRows
protected Integer queryTimeout
コンストラクタの詳細 |
public ConfigurableStatementFactory(StatementFactory statementFactory)
ConfigurableStatementFactory
を作成します。
statementFactory
- メソッドの詳細 |
public PreparedStatement createPreparedStatement(Connection con, String sql)
StatementFactory
の記述:
StatementFactory
内の createPreparedStatement
con
- コネクションsql
- SQL
public CallableStatement createCallableStatement(Connection con, String sql)
StatementFactory
の記述:
StatementFactory
内の createCallableStatement
con
- コネクションsql
- SQL
protected void configurePreparedStatement(PreparedStatement ps)
PreparedStatement
をカスタマイズします。
ps
- public void setFetchSize(Integer fetchSize)
fetchSize
- public void setMaxRows(Integer maxRows)
maxRows
- public void setQueryTimeout(Integer queryTimeout)
queryTimeout
-
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |