クラス PreparedStatementWrapper
java.lang.Object
org.iplass.mtp.impl.rdb.connection.StatementWrapper
org.iplass.mtp.impl.rdb.connection.PreparedStatementWrapper
- すべての実装されたインタフェース:
AutoCloseable,PreparedStatement,Statement,Wrapper
-
フィールドの概要
クラスから継承されたフィールド org.iplass.mtp.impl.rdb.connection.StatementWrapper
additionalWarnLogInfo, countSqlExecution, sqlCount, warnLogBefore, warnLogThresholdインタフェースから継承されたフィールド java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
コンストラクタの概要
コンストラクタコンストラクタ説明PreparedStatementWrapper(PreparedStatement wrapped, ConnectionWrapper con, String sql, int warnLogThreshold, boolean warnLogBefore, boolean countSqlExecution) -
メソッドの概要
修飾子とタイプメソッド説明voidaddBatch()voidbooleanexecute()final int[]intvoidvoidsetAsciiStream(int parameterIndex, InputStream x) voidsetAsciiStream(int parameterIndex, InputStream x, int length) voidsetAsciiStream(int parameterIndex, InputStream x, long length) voidsetBigDecimal(int parameterIndex, BigDecimal x) voidsetBinaryStream(int parameterIndex, InputStream x) voidsetBinaryStream(int parameterIndex, InputStream x, int length) voidsetBinaryStream(int parameterIndex, InputStream x, long length) voidsetBlob(int parameterIndex, InputStream inputStream) voidsetBlob(int parameterIndex, InputStream inputStream, long length) voidvoidsetBoolean(int parameterIndex, boolean x) voidsetByte(int parameterIndex, byte x) voidsetBytes(int parameterIndex, byte[] x) voidsetCharacterStream(int parameterIndex, Reader reader) voidsetCharacterStream(int parameterIndex, Reader reader, int length) voidsetCharacterStream(int parameterIndex, Reader reader, long length) voidvoidvoidvoidvoidvoidsetDouble(int parameterIndex, double x) voidsetFloat(int parameterIndex, float x) voidsetInt(int parameterIndex, int x) voidsetLong(int parameterIndex, long x) voidsetNCharacterStream(int parameterIndex, Reader value) voidsetNCharacterStream(int parameterIndex, Reader value, long length) voidvoidvoidvoidsetNString(int parameterIndex, String value) voidsetNull(int parameterIndex, int sqlType) voidvoidvoidvoidvoidvoidvoidsetShort(int parameterIndex, short x) voidvoidvoidvoidvoidsetTimestamp(int parameterIndex, Timestamp x) voidsetTimestamp(int parameterIndex, Timestamp x, Calendar cal) voidsetUnicodeStream(int parameterIndex, InputStream x, int length) voidprotected <T> TwithLog(String method, String sql, boolean withParam, SQLExecution<T> s) クラスから継承されたメソッド org.iplass.mtp.impl.rdb.connection.StatementWrapper
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getAdditionalWarnLogInfo, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setAdditionalWarnLogInfo, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrapクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド java.sql.PreparedStatement
executeLargeUpdate, setObject, setObjectインタフェースから継承されたメソッド java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutインタフェースから継承されたメソッド java.sql.Wrapper
isWrapperFor, unwrap
-
コンストラクタの詳細
-
PreparedStatementWrapper
PreparedStatementWrapper(PreparedStatement wrapped, ConnectionWrapper con, String sql, int warnLogThreshold, boolean warnLogBefore, boolean countSqlExecution)
-
-
メソッドの詳細
-
withLog
protected <T> T withLog(String method, String sql, boolean withParam, SQLExecution<T> s) throws SQLException - 例外:
SQLException
-
addBatch
- 定義:
addBatchインタフェース内PreparedStatement- 例外:
SQLException
-
clearParameters
- 定義:
clearParametersインタフェース内PreparedStatement- 例外:
SQLException
-
execute
- 定義:
executeインタフェース内PreparedStatement- 例外:
SQLException
-
executeQuery
- 定義:
executeQueryインタフェース内PreparedStatement- 例外:
SQLException
-
executeUpdate
- 定義:
executeUpdateインタフェース内PreparedStatement- 例外:
SQLException
-
executeBatch
- 定義:
executeBatchインタフェース内Statement- オーバーライド:
executeBatchクラス内StatementWrapper- 例外:
SQLException
-
getMetaData
- 定義:
getMetaDataインタフェース内PreparedStatement- 例外:
SQLException
-
getParameterMetaData
- 定義:
getParameterMetaDataインタフェース内PreparedStatement- 例外:
SQLException
-
setArray
- 定義:
setArrayインタフェース内PreparedStatement- 例外:
SQLException
-
setAsciiStream
- 定義:
setAsciiStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setAsciiStream
- 定義:
setAsciiStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setAsciiStream
- 定義:
setAsciiStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setBigDecimal
- 定義:
setBigDecimalインタフェース内PreparedStatement- 例外:
SQLException
-
setBinaryStream
- 定義:
setBinaryStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setBinaryStream
- 定義:
setBinaryStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setBinaryStream
- 定義:
setBinaryStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setBlob
- 定義:
setBlobインタフェース内PreparedStatement- 例外:
SQLException
-
setBlob
- 定義:
setBlobインタフェース内PreparedStatement- 例外:
SQLException
-
setBlob
- 定義:
setBlobインタフェース内PreparedStatement- 例外:
SQLException
-
setBoolean
- 定義:
setBooleanインタフェース内PreparedStatement- 例外:
SQLException
-
setByte
- 定義:
setByteインタフェース内PreparedStatement- 例外:
SQLException
-
setBytes
- 定義:
setBytesインタフェース内PreparedStatement- 例外:
SQLException
-
setCharacterStream
- 定義:
setCharacterStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setCharacterStream
- 定義:
setCharacterStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setCharacterStream
- 定義:
setCharacterStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setClob
- 定義:
setClobインタフェース内PreparedStatement- 例外:
SQLException
-
setClob
- 定義:
setClobインタフェース内PreparedStatement- 例外:
SQLException
-
setClob
- 定義:
setClobインタフェース内PreparedStatement- 例外:
SQLException
-
setDate
- 定義:
setDateインタフェース内PreparedStatement- 例外:
SQLException
-
setDate
- 定義:
setDateインタフェース内PreparedStatement- 例外:
SQLException
-
setDouble
- 定義:
setDoubleインタフェース内PreparedStatement- 例外:
SQLException
-
setFloat
- 定義:
setFloatインタフェース内PreparedStatement- 例外:
SQLException
-
setInt
- 定義:
setIntインタフェース内PreparedStatement- 例外:
SQLException
-
setLong
- 定義:
setLongインタフェース内PreparedStatement- 例外:
SQLException
-
setNCharacterStream
- 定義:
setNCharacterStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setNCharacterStream
- 定義:
setNCharacterStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setNClob
- 定義:
setNClobインタフェース内PreparedStatement- 例外:
SQLException
-
setNClob
- 定義:
setNClobインタフェース内PreparedStatement- 例外:
SQLException
-
setNClob
- 定義:
setNClobインタフェース内PreparedStatement- 例外:
SQLException
-
setNString
- 定義:
setNStringインタフェース内PreparedStatement- 例外:
SQLException
-
setNull
- 定義:
setNullインタフェース内PreparedStatement- 例外:
SQLException
-
setNull
- 定義:
setNullインタフェース内PreparedStatement- 例外:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException - 定義:
setObjectインタフェース内PreparedStatement- 例外:
SQLException
-
setObject
- 定義:
setObjectインタフェース内PreparedStatement- 例外:
SQLException
-
setObject
- 定義:
setObjectインタフェース内PreparedStatement- 例外:
SQLException
-
setRef
- 定義:
setRefインタフェース内PreparedStatement- 例外:
SQLException
-
setRowId
- 定義:
setRowIdインタフェース内PreparedStatement- 例外:
SQLException
-
setShort
- 定義:
setShortインタフェース内PreparedStatement- 例外:
SQLException
-
setSQLXML
- 定義:
setSQLXMLインタフェース内PreparedStatement- 例外:
SQLException
-
setString
- 定義:
setStringインタフェース内PreparedStatement- 例外:
SQLException
-
setTime
- 定義:
setTimeインタフェース内PreparedStatement- 例外:
SQLException
-
setTime
- 定義:
setTimeインタフェース内PreparedStatement- 例外:
SQLException
-
setTimestamp
- 定義:
setTimestampインタフェース内PreparedStatement- 例外:
SQLException
-
setTimestamp
- 定義:
setTimestampインタフェース内PreparedStatement- 例外:
SQLException
-
setUnicodeStream
- 定義:
setUnicodeStreamインタフェース内PreparedStatement- 例外:
SQLException
-
setURL
- 定義:
setURLインタフェース内PreparedStatement- 例外:
SQLException
-