|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.jdbc.type.AbstractJdbcType<ResultSet>
org.seasar.doma.jdbc.type.AbstractResultSetType
public abstract class AbstractResultSetType
ResultSet 用の JdbcType のための骨格実装です。
| フィールドの概要 |
|---|
| クラス org.seasar.doma.jdbc.type.AbstractJdbcType から継承されたフィールド |
|---|
type |
| コンストラクタの概要 | |
|---|---|
protected |
AbstractResultSetType(int type)
SQL型を指定してインスタンスを構築します。 |
| メソッドの概要 | |
|---|---|
protected String |
doConvertToLogFormat(ResultSet value)
サブクラスで値をログ用フォーマットの文字列に変換します。 |
protected ResultSet |
doGetValue(CallableStatement callableStatement,
int index)
サブクラスで CallableStatement から値を取得します。 |
protected ResultSet |
doGetValue(ResultSet resultSet,
int index)
null を返します。 |
protected void |
doSetValue(PreparedStatement preparedStatement,
int index,
ResultSet value)
何も行いません。 |
ResultSet |
getValue(ResultSet resultSet,
int index)
サポートしません。 |
void |
setValue(PreparedStatement preparedStatement,
int index,
ResultSet value)
サポートしません。 |
| クラス org.seasar.doma.jdbc.type.AbstractJdbcType から継承されたメソッド |
|---|
convertToLogFormat, getValue, registerOutParameter |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
protected AbstractResultSetType(int type)
type - SQL型| メソッドの詳細 |
|---|
public ResultSet getValue(ResultSet resultSet,
int index)
throws SQLException
JdbcType<ResultSet> 内の getValueAbstractJdbcType<ResultSet> 内の getValueSQLException
public void setValue(PreparedStatement preparedStatement,
int index,
ResultSet value)
throws SQLException
JdbcType<ResultSet> 内の setValueAbstractJdbcType<ResultSet> 内の setValueSQLException
protected ResultSet doGetValue(ResultSet resultSet,
int index)
throws SQLException
null を返します。
AbstractJdbcType<ResultSet> 内の doGetValueresultSet - 結果セットindex - インデックス
SQLException - SQL例外が発生した場合
protected void doSetValue(PreparedStatement preparedStatement,
int index,
ResultSet value)
throws SQLException
AbstractJdbcType<ResultSet> 内の doSetValuepreparedStatement - 準備された文index - インデックスvalue - 値
SQLException - SQL例外が発生した場合
protected ResultSet doGetValue(CallableStatement callableStatement,
int index)
throws SQLException
AbstractJdbcType の記述:CallableStatement から値を取得します。
AbstractJdbcType<ResultSet> 内の doGetValuecallableStatement - ストアドファンクションまたはプロシージャーを実行可能な文index - インデックス
SQLException - SQL例外が発生した場合protected String doConvertToLogFormat(ResultSet value)
AbstractJdbcType の記述:
AbstractJdbcType<ResultSet> 内の doConvertToLogFormatvalue - 値
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||