public class WrappedCallableStatementJDK8 extends WrappedCallableStatement
defaultFetchSize, jndiName, spy, spyLogger
bundle
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
WrappedCallableStatementJDK8(WrappedConnectionJDK8 lc,
CallableStatement s,
boolean spy,
String jndiName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
closeOnCompletion() |
<T> T |
getObject(int parameterIndex,
Class<T> type) |
<T> T |
getObject(String parameterName,
Class<T> type) |
boolean |
isCloseOnCompletion() |
void |
registerOutParameter(int parameterIndex,
SQLType sqlType) |
void |
registerOutParameter(int parameterIndex,
SQLType sqlType,
int scale) |
void |
registerOutParameter(int parameterIndex,
SQLType sqlType,
String typeName) |
void |
registerOutParameter(String parameterName,
SQLType sqlType) |
void |
registerOutParameter(String parameterName,
SQLType sqlType,
int scale) |
void |
registerOutParameter(String parameterName,
SQLType sqlType,
String typeName) |
void |
setObject(String parameterName,
Object x,
SQLType targetSqlType) |
void |
setObject(String parameterName,
Object x,
SQLType targetSqlType,
int scaleOrLength) |
protected WrappedResultSet |
wrapResultSet(ResultSet resultSet,
boolean spy,
String jndiName)
Wrap result set
|
getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getUnderlyingStatement, getURL, getURL, getWrappedObject, isClosed, isPoolable, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNClob, setNClob, setNClob, setNString, setNString, setNull, setNull, setObject, setPoolable, setRowId, setRowId, setShort, setSQLXML, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, wasNull
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
addBatch, cancel, checkConfiguredQueryTimeout, checkException, checkTransaction, checkTransactionActive, clearBatch, clearWarnings, close, closeResultSets, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, internalClose, lock, registerResultSet, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, unlock, unregisterResultSet
isWrapperFor, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
isWrapperFor, unwrap
public WrappedCallableStatementJDK8(WrappedConnectionJDK8 lc, CallableStatement s, boolean spy, String jndiName)
lc
- The connections
- The statementspy
- The spy valuejndiName
- The jndi nameprotected WrappedResultSet wrapResultSet(ResultSet resultSet, boolean spy, String jndiName)
wrapResultSet
in class WrappedStatement
resultSet
- The result setspy
- The spy valuejndiName
- The jndi namepublic void closeOnCompletion() throws SQLException
SQLException
public boolean isCloseOnCompletion() throws SQLException
SQLException
public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException
SQLException
public <T> T getObject(String parameterName, Class<T> type) throws SQLException
SQLException
public void setObject(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException
setObject
in interface CallableStatement
setObject
in class WrappedCallableStatement
SQLException
public void setObject(String parameterName, Object x, SQLType targetSqlType) throws SQLException
setObject
in interface CallableStatement
setObject
in class WrappedCallableStatement
SQLException
public void registerOutParameter(int parameterIndex, SQLType sqlType) throws SQLException
registerOutParameter
in interface CallableStatement
registerOutParameter
in class WrappedCallableStatement
SQLException
public void registerOutParameter(int parameterIndex, SQLType sqlType, int scale) throws SQLException
registerOutParameter
in interface CallableStatement
registerOutParameter
in class WrappedCallableStatement
SQLException
public void registerOutParameter(int parameterIndex, SQLType sqlType, String typeName) throws SQLException
registerOutParameter
in interface CallableStatement
registerOutParameter
in class WrappedCallableStatement
SQLException
public void registerOutParameter(String parameterName, SQLType sqlType) throws SQLException
registerOutParameter
in interface CallableStatement
registerOutParameter
in class WrappedCallableStatement
SQLException
public void registerOutParameter(String parameterName, SQLType sqlType, int scale) throws SQLException
registerOutParameter
in interface CallableStatement
registerOutParameter
in class WrappedCallableStatement
SQLException
public void registerOutParameter(String parameterName, SQLType sqlType, String typeName) throws SQLException
registerOutParameter
in interface CallableStatement
registerOutParameter
in class WrappedCallableStatement
SQLException
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)