public abstract class SqlCall extends RdbmsOperation
宣言されたパラメーターに基づいて CallableStatementCreatorFactory を構成します。
CallableStatementCreatorFactorylogger| コンストラクターと説明 |
|---|
SqlCall()JavaBean として使用できるようにするコンストラクター。 |
SqlCall(DataSourceSE ds, StringSE sql)SQL を使用して、パラメーターを指定せずに新しい SqlCall オブジェクトを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected void | compileInternal() 宣言されたパラメーターに基づいて CallableStatementCreatorFactory を構成するためのオーバーライドされたメソッド。 |
StringSE | getCallString() 呼び出し文字列を取得します。 |
boolean | isFunction() この呼び出しが関数に対するものかどうかを返します。 |
boolean | isSqlReadyForUse()SQL をそのまま使用できるかどうかを返します。 |
protected CallableStatementCreator | newCallableStatementCreator(MapSE<StringSE,?> inParams) このパラメーターを使用して操作を実行するには、CallableStatementCreator を返します。 |
protected CallableStatementCreator | newCallableStatementCreator(ParameterMapper inParamMapper)CallableStatementCreator を返し、この ParameterMapper から返されたパラメーターで操作を実行します。 |
protected void | onCompileInternal() コンパイルに反応するためにサブクラスがオーバーライドするフックメソッド。 |
void | setFunction(boolean function) この呼び出しが関数用かどうかを設定します。 |
void | setSqlReadyForUse(boolean sqlReadyForUse)SQL をそのまま使用できるかどうかを設定します。 |
afterPropertiesSet, allowsUnusedParameters, checkCompiled, compile, declareParameter, getDeclaredParameters, getGeneratedKeysColumnNames, getJdbcTemplate, getResultSetType, getSql, isCompiled, isReturnGeneratedKeys, isUpdatableResults, resolveSql, setDataSource, setFetchSize, setGeneratedKeysColumnNames, setJdbcTemplate, setMaxRows, setParameters, setQueryTimeout, setResultSetType, setReturnGeneratedKeys, setSql, setTypes, setUpdatableResults, supportsLobParameters, validateNamedParameters, validateParameterscloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic SqlCall()
compile メソッドを呼び出してこのオブジェクトを使用する前に、DataSource、SQL、任意のパラメーターを指定する必要があります。public SqlCall(DataSourceSE ds, StringSE sql)
ds - 接続を取得する DataSourcesql - 実行する SQLpublic void setFunction(boolean function)
public boolean isFunction()
public void setSqlReadyForUse(boolean sqlReadyForUse)
public boolean isSqlReadyForUse()
protected final void compileInternal()
RdbmsOperation の compileInternal RdbmsOperation.compileInternal()protected void onCompileInternal()
protected CallableStatementCreator newCallableStatementCreator(@Nullable MapSE<StringSE,?> inParams)
inParams - パラメーター。null の場合があります。protected CallableStatementCreator newCallableStatementCreator(ParameterMapper inParamMapper)
inParamMapper - パラメーターマッパー。null ではない場合があります。