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