public class BasicSqlCStatement extends BasicSqlPStatement implements SqlCStatement
CallableStatement
のラッパークラス。CallableStatement
paramHolder
Constructor and Description |
---|
BasicSqlCStatement(java.lang.String sql,
java.sql.CallableStatement statement)
コンストラクタ。
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getBigDecimal(int parameterIndex)
CallableStatement.getBigDecimal(int) . |
java.sql.Blob |
getBlob(int parameterIndex)
CallableStatement.getBlob(int) . |
java.lang.Boolean |
getBoolean(int parameterIndex)
CallableStatement.getBoolean(int) . |
byte[] |
getBytes(int parameterIndex)
CallableStatement.getByte(int) . |
java.sql.Clob |
getClob(int parameterIndex)
CallableStatement.getClob(int) . |
java.util.Date |
getDate(int parameterIndex)
CallableStatement.getDate(int) . |
java.lang.Integer |
getInteger(int parameterIndex)
CallableStatement.getInt(int) . |
java.lang.Long |
getLong(int parameterIndex)
CallableStatement.getInt(int) . |
java.lang.Object |
getObject(int parameterIndex)
CallableStatement.getObject(int) . |
java.lang.Short |
getShort(int parameterIndex)
CallableStatement.getShort(int) . |
java.lang.String |
getString(int parameterIndex)
CallableStatement.getString(int) . |
java.sql.Time |
getTime(int parameterIndex)
CallableStatement.getTime(int) . |
java.sql.Timestamp |
getTimestamp(int parameterIndex)
CallableStatement.getTimestamp(int) (int)}. |
void |
registerOutParameter(int parameterIndex,
int sqlType)
CallableStatement.registerOutParameter(int, int) . |
void |
registerOutParameter(int parameterIndex,
int sqlType,
int scale)
CallableStatement.registerOutParameter(int, int, int) . |
addBatch, addBatchMap, addBatchObject, clearBatch, clearParameters, close, createBatchParamHolder, createParamHolder, createSqlResultSet, doRetrieve, execute, executeBatch, executeQuery, executeQueryByMap, executeQueryByObject, executeUpdate, executeUpdateByMap, executeUpdateByObject, getBatchSize, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameters, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, isClosed, isTraceLogEnabled, retrieve, retrieve, retrieve, retrieve, retrieve, retrieve, setAdditionalInfo, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setContext, setDate, setDate, setDouble, setFetchDirection, setFetchSize, setFloat, setInt, setJdbcTransactionTimeoutHandler, setLikeEscapeChar, setLikeEscapeTargetCharList, setLong, setMaxRows, setNull, setNull, setObject, setObject, setQueryTimeout, setRef, setSelectOption, setShort, setSqlStatementExceptionFactory, setString, setTime, setTime, setTimestamp, setTimestamp, setUpdatePreHookObjectHandlerList, setURL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBatch, clearParameters, execute, executeQuery, executeUpdate, getFetchDirection, getGeneratedKeys, getMetaData, getMoreResults, getMoreResults, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, retrieve, retrieve, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFetchDirection, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL
clearBatch, close, executeBatch, getBatchSize, getConnection, getFetchSize, getMaxRows, getQueryTimeout, getUpdateCount, isClosed, setFetchSize, setJdbcTransactionTimeoutHandler, setMaxRows, setQueryTimeout
public BasicSqlCStatement(java.lang.String sql, java.sql.CallableStatement statement)
sql
- SQL文statement
- CallableStatement
public void registerOutParameter(int parameterIndex, int sqlType)
SqlCStatement
CallableStatement.registerOutParameter(int, int)
.registerOutParameter
in interface SqlCStatement
parameterIndex
- パラメータインデックスsqlType
- Types
public void registerOutParameter(int parameterIndex, int sqlType, int scale)
SqlCStatement
CallableStatement.registerOutParameter(int, int, int)
.registerOutParameter
in interface SqlCStatement
parameterIndex
- パラメータインデックスsqlType
- Types
scale
- 小数点以下の桁数(0以上であること)public java.lang.Object getObject(int parameterIndex)
SqlCStatement
CallableStatement.getObject(int)
.getObject
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.lang.String getString(int parameterIndex)
SqlCStatement
CallableStatement.getString(int)
.getString
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.lang.Integer getInteger(int parameterIndex)
SqlCStatement
CallableStatement.getInt(int)
.getInteger
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.lang.Long getLong(int parameterIndex)
SqlCStatement
CallableStatement.getInt(int)
.getLong
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.lang.Short getShort(int parameterIndex)
SqlCStatement
CallableStatement.getShort(int)
.getShort
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.math.BigDecimal getBigDecimal(int parameterIndex)
SqlCStatement
CallableStatement.getBigDecimal(int)
.getBigDecimal
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.util.Date getDate(int parameterIndex)
SqlCStatement
CallableStatement.getDate(int)
.getDate
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.sql.Time getTime(int parameterIndex)
SqlCStatement
CallableStatement.getTime(int)
.getTime
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.sql.Timestamp getTimestamp(int parameterIndex)
SqlCStatement
CallableStatement.getTimestamp(int)
(int)}.getTimestamp
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.lang.Boolean getBoolean(int parameterIndex)
SqlCStatement
CallableStatement.getBoolean(int)
.getBoolean
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic byte[] getBytes(int parameterIndex)
SqlCStatement
CallableStatement.getByte(int)
.getBytes
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.sql.Blob getBlob(int parameterIndex)
SqlCStatement
CallableStatement.getBlob(int)
.getBlob
in interface SqlCStatement
parameterIndex
- パラメータインデックスpublic java.sql.Clob getClob(int parameterIndex)
SqlCStatement
CallableStatement.getClob(int)
.getClob
in interface SqlCStatement
parameterIndex
- パラメータインデックス