org.seasar.extension.jdbc.query
クラス SqlFunctionCallImpl<T>
java.lang.Object
org.seasar.extension.jdbc.query.AbstractQuery<S>
org.seasar.extension.jdbc.query.AbstractModuleCall<S>
org.seasar.extension.jdbc.query.AbstractFunctionCall<T,SqlFunctionCall<T>>
org.seasar.extension.jdbc.query.SqlFunctionCallImpl<T>
- 型パラメータ:
T
- ファンクションの戻り値の型。戻り値が結果セットの場合はList
の要素の型
- すべての実装されたインタフェース:
- FunctionCall<T,SqlFunctionCall<T>>, ModuleCall<SqlFunctionCall<T>>, Query<SqlFunctionCall<T>>, SqlFunctionCall<T>, SqlLogger
public class SqlFunctionCallImpl<T>
- extends AbstractFunctionCall<T,SqlFunctionCall<T>>
- implements SqlFunctionCall<T>
SqlUpdate
の実装クラスです。
- 作成者:
- koichik
クラス org.seasar.extension.jdbc.query.AbstractModuleCall から継承されたメソッド |
addNonParam, addParam, createParamDesc, fetchSize, getCallableStatement, getFetchSize, getMaxRows, getNonParam, getNonParamSize, getParamDescs, getParameter, getResultSet, handleNonParamResultSets, handleOutParams, handleResultList, handleResultSet, handleSingleResult, initialize, maxRows, prepareOutParams, prepareParameter, setupCallableStatement |
クラス org.seasar.extension.jdbc.query.AbstractQuery から継承されたメソッド |
addParam, addParam, addParam, addParam, callerClass, callerMethodName, getCallerClass, getCallerMethodName, getExecutedSql, getJdbcManager, getParam, getParamClasses, getParamSize, getParamValues, getParamValueTypes, getQueryTimeout, getValueType, handleResultSet, logSql, logSql, prepareCallerClassAndMethodName, prepareInParams, queryTimeout, resetParams |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlFunctionCallImpl
public SqlFunctionCallImpl(JdbcManagerImplementor jdbcManager,
Class<T> resultClass,
String sql)
- インスタンスを構築します。
- パラメータ:
jdbcManager
- 内部的なJDBCマネージャresultClass
- 戻り値のクラスsql
- SQL- 関連項目:
#SqlFunctionCallImpl(JdbcManagerImplementor, String, Object)
SqlFunctionCallImpl
public SqlFunctionCallImpl(JdbcManagerImplementor jdbcManager,
Class<T> resultClass,
String sql,
Object param)
- インスタンスを構築します。
- パラメータ:
jdbcManager
- 内部的なJDBCマネージャresultClass
- 戻り値のクラスsql
- SQLparam
-
パラメータです。
INパラメータが1つしかない場合は、数値や文字列などを直接指定します。 それ以外は、JavaBeansを指定します。
プロシージャを呼び出すバインド変数の順番にJavaBeansのフィールドを定義します。 OUT
パラメータのフィールドにはOut
アノテーションを指定します。
IN OUT
パラメータのフィールドにはInOut
アノテーションを指定します。
いずれのアノテーションも付けられていない場合は、IN
パラメータになります。
プロシージャが結果セットを返す場合、フィールドの型はList<レコードの型>
にします。
継承もとのクラスのフィールドは認識しません。
prepare
protected void prepare(String methodName)
- クラス
AbstractQuery
の記述:
- クエリの準備をします。
- 定義:
- クラス
AbstractQuery<SqlFunctionCall<T>>
内の prepare
- パラメータ:
methodName
- メソッド名
Copyright ? 2004-2007 The Seasar Foundation. All Rights Reserved.