Class NewProxyCallableStatement
- All Implemented Interfaces:
C3P0ProxyStatement
,ProxyResultSetDetachable
,AutoCloseable
,CallableStatement
,PreparedStatement
,Statement
,Wrapper
-
Field Summary
FieldsFields inherited from interface com.mchange.v2.c3p0.C3P0ProxyStatement
RAW_STATEMENT
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addBatch()
final void
final void
cancel()
final void
final void
final void
final void
close()
final void
void
final String
enquoteIdentifier
(String a, boolean b) final String
final String
final boolean
execute()
final boolean
final boolean
final boolean
final boolean
final int[]
final long[]
final long
final long
final long
executeLargeUpdate
(String a, int b) final long
executeLargeUpdate
(String a, int[] b) final long
executeLargeUpdate
(String a, String[] b) final ResultSet
final ResultSet
final int
final int
final int
executeUpdate
(String a, int b) final int
executeUpdate
(String a, int[] b) final int
executeUpdate
(String a, String[] b) final Array
getArray
(int a) final Array
final BigDecimal
getBigDecimal
(int a) final BigDecimal
getBigDecimal
(int a, int b) final BigDecimal
final Blob
getBlob
(int a) final Blob
final boolean
getBoolean
(int a) final boolean
getBoolean
(String a) final byte
getByte
(int a) final byte
final byte[]
getBytes
(int a) final byte[]
final Reader
getCharacterStream
(int a) final Reader
final Clob
getClob
(int a) final Clob
final Connection
final Date
getDate
(int a) final Date
final Date
final Date
final double
getDouble
(int a) final double
final int
final int
final float
getFloat
(int a) final float
final ResultSet
final int
getInt
(int a) final int
final long
final long
final long
getLong
(int a) final long
final int
final int
final ResultSetMetaData
final boolean
final boolean
getMoreResults
(int a) final Reader
getNCharacterStream
(int a) final Reader
final NClob
getNClob
(int a) final NClob
final String
getNString
(int a) final String
getNString
(String a) final Object
getObject
(int a) final Object
final Object
final Object
final Object
final Object
final ParameterMetaData
final int
final Ref
getRef
(int a) final Ref
final ResultSet
final int
final int
final int
final RowId
getRowId
(int a) final RowId
final short
getShort
(int a) final short
final SQLXML
getSQLXML
(int a) final SQLXML
final String
getString
(int a) final String
final Time
getTime
(int a) final Time
final Time
final Time
final Timestamp
getTimestamp
(int a) final Timestamp
getTimestamp
(int a, Calendar b) final Timestamp
final Timestamp
getTimestamp
(String a, Calendar b) final int
final URL
getURL
(int a) final URL
final SQLWarning
final boolean
isClosed()
final boolean
final boolean
final boolean
final boolean
rawStatementOperation
(Method m, Object target, Object[] args) Allows one to work with the unproxied, raw vendor-provided Statement .final void
registerOutParameter
(int a, int b) final void
registerOutParameter
(int a, int b, int c) final void
registerOutParameter
(int a, int b, String c) final void
registerOutParameter
(int a, SQLType b) final void
registerOutParameter
(int a, SQLType b, int c) final void
registerOutParameter
(int a, SQLType b, String c) final void
registerOutParameter
(String a, int b) final void
registerOutParameter
(String a, int b, int c) final void
registerOutParameter
(String a, int b, String c) final void
final void
registerOutParameter
(String a, SQLType b, int c) final void
registerOutParameter
(String a, SQLType b, String c) final void
final void
setAsciiStream
(int a, InputStream b) final void
setAsciiStream
(int a, InputStream b, int c) final void
setAsciiStream
(int a, InputStream b, long c) final void
setAsciiStream
(String a, InputStream b) final void
setAsciiStream
(String a, InputStream b, int c) final void
setAsciiStream
(String a, InputStream b, long c) final void
setBigDecimal
(int a, BigDecimal b) final void
setBigDecimal
(String a, BigDecimal b) final void
setBinaryStream
(int a, InputStream b) final void
setBinaryStream
(int a, InputStream b, int c) final void
setBinaryStream
(int a, InputStream b, long c) final void
setBinaryStream
(String a, InputStream b) final void
setBinaryStream
(String a, InputStream b, int c) final void
setBinaryStream
(String a, InputStream b, long c) final void
setBlob
(int a, InputStream b) final void
setBlob
(int a, InputStream b, long c) final void
final void
setBlob
(String a, InputStream b) final void
setBlob
(String a, InputStream b, long c) final void
final void
setBoolean
(int a, boolean b) final void
setBoolean
(String a, boolean b) final void
setByte
(int a, byte b) final void
final void
setBytes
(int a, byte[] b) final void
final void
setCharacterStream
(int a, Reader b) final void
setCharacterStream
(int a, Reader b, int c) final void
setCharacterStream
(int a, Reader b, long c) final void
setCharacterStream
(String a, Reader b) final void
setCharacterStream
(String a, Reader b, int c) final void
setCharacterStream
(String a, Reader b, long c) final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
setDouble
(int a, double b) final void
final void
setEscapeProcessing
(boolean a) final void
setFetchDirection
(int a) final void
setFetchSize
(int a) final void
setFloat
(int a, float b) final void
final void
setInt
(int a, int b) final void
final void
setLargeMaxRows
(long a) final void
setLong
(int a, long b) final void
final void
setMaxFieldSize
(int a) final void
setMaxRows
(int a) final void
setNCharacterStream
(int a, Reader b) final void
setNCharacterStream
(int a, Reader b, long c) final void
setNCharacterStream
(String a, Reader b) final void
setNCharacterStream
(String a, Reader b, long c) final void
final void
final void
final void
final void
final void
final void
setNString
(int a, String b) final void
setNString
(String a, String b) final void
setNull
(int a, int b) final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
setPoolable
(boolean a) final void
setQueryTimeout
(int a) final void
final void
final void
final void
setShort
(int a, short b) final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
setTimestamp
(int a, Timestamp b) final void
setTimestamp
(int a, Timestamp b, Calendar c) final void
setTimestamp
(String a, Timestamp b) final void
setTimestamp
(String a, Timestamp b, Calendar c) final void
setUnicodeStream
(int a, InputStream b, int c) final void
final void
toString()
final Object
final boolean
wasNull()
-
Field Details
-
inner
-
-
Method Details
-
getBoolean
- Specified by:
getBoolean
in interfaceCallableStatement
- Throws:
SQLException
-
getBoolean
- Specified by:
getBoolean
in interfaceCallableStatement
- Throws:
SQLException
-
getByte
- Specified by:
getByte
in interfaceCallableStatement
- Throws:
SQLException
-
getByte
- Specified by:
getByte
in interfaceCallableStatement
- Throws:
SQLException
-
getShort
- Specified by:
getShort
in interfaceCallableStatement
- Throws:
SQLException
-
getShort
- Specified by:
getShort
in interfaceCallableStatement
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfaceCallableStatement
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfaceCallableStatement
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfaceCallableStatement
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfaceCallableStatement
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfaceCallableStatement
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfaceCallableStatement
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceCallableStatement
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceCallableStatement
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceCallableStatement
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceCallableStatement
- Throws:
SQLException
-
setBoolean
- Specified by:
setBoolean
in interfaceCallableStatement
- Throws:
SQLException
-
setByte
- Specified by:
setByte
in interfaceCallableStatement
- Throws:
SQLException
-
setShort
- Specified by:
setShort
in interfaceCallableStatement
- Throws:
SQLException
-
setInt
- Specified by:
setInt
in interfaceCallableStatement
- Throws:
SQLException
-
setLong
- Specified by:
setLong
in interfaceCallableStatement
- Throws:
SQLException
-
setFloat
- Specified by:
setFloat
in interfaceCallableStatement
- Throws:
SQLException
-
setDouble
- Specified by:
setDouble
in interfaceCallableStatement
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceCallableStatement
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceCallableStatement
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceCallableStatement
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceCallableStatement
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceCallableStatement
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceCallableStatement
- Throws:
SQLException
-
getRef
- Specified by:
getRef
in interfaceCallableStatement
- Throws:
SQLException
-
getRef
- Specified by:
getRef
in interfaceCallableStatement
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceCallableStatement
- Throws:
SQLException
-
getArray
- Specified by:
getArray
in interfaceCallableStatement
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceCallableStatement
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceCallableStatement
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceCallableStatement
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceCallableStatement
- Throws:
SQLException
-
setURL
- Specified by:
setURL
in interfaceCallableStatement
- Throws:
SQLException
-
getURL
- Specified by:
getURL
in interfaceCallableStatement
- Throws:
SQLException
-
getURL
- Specified by:
getURL
in interfaceCallableStatement
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceCallableStatement
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceCallableStatement
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceCallableStatement
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceCallableStatement
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceCallableStatement
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceCallableStatement
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceCallableStatement
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceCallableStatement
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceCallableStatement
- Throws:
SQLException
-
setTime
- Specified by:
setTime
in interfaceCallableStatement
- Throws:
SQLException
-
setTime
- Specified by:
setTime
in interfaceCallableStatement
- Throws:
SQLException
-
setDate
- Specified by:
setDate
in interfaceCallableStatement
- Throws:
SQLException
-
setDate
- Specified by:
setDate
in interfaceCallableStatement
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceCallableStatement
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceCallableStatement
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceCallableStatement
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceCallableStatement
- Throws:
SQLException
-
setNull
- Specified by:
setNull
in interfaceCallableStatement
- Throws:
SQLException
-
setNull
- Specified by:
setNull
in interfaceCallableStatement
- Throws:
SQLException
-
setBigDecimal
- Specified by:
setBigDecimal
in interfaceCallableStatement
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceCallableStatement
- Throws:
SQLException
-
setBytes
- Specified by:
setBytes
in interfaceCallableStatement
- Throws:
SQLException
-
setTimestamp
- Specified by:
setTimestamp
in interfaceCallableStatement
- Throws:
SQLException
-
setTimestamp
- Specified by:
setTimestamp
in interfaceCallableStatement
- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStream
in interfaceCallableStatement
- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStream
in interfaceCallableStatement
- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStream
in interfaceCallableStatement
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceCallableStatement
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceCallableStatement
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfaceCallableStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfaceCallableStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfaceCallableStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfaceCallableStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfaceCallableStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfaceCallableStatement
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
setBlob
- Specified by:
setBlob
in interfaceCallableStatement
- Throws:
SQLException
-
setBlob
- Specified by:
setBlob
in interfaceCallableStatement
- Throws:
SQLException
-
setBlob
- Specified by:
setBlob
in interfaceCallableStatement
- Throws:
SQLException
-
setClob
- Specified by:
setClob
in interfaceCallableStatement
- Throws:
SQLException
-
setClob
- Specified by:
setClob
in interfaceCallableStatement
- Throws:
SQLException
-
setClob
- Specified by:
setClob
in interfaceCallableStatement
- Throws:
SQLException
-
setRowId
- Specified by:
setRowId
in interfaceCallableStatement
- Throws:
SQLException
-
setNString
- Specified by:
setNString
in interfaceCallableStatement
- Throws:
SQLException
-
setNCharacterStream
- Specified by:
setNCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
setNCharacterStream
- Specified by:
setNCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
setNClob
- Specified by:
setNClob
in interfaceCallableStatement
- Throws:
SQLException
-
setNClob
- Specified by:
setNClob
in interfaceCallableStatement
- Throws:
SQLException
-
setNClob
- Specified by:
setNClob
in interfaceCallableStatement
- Throws:
SQLException
-
setSQLXML
- Specified by:
setSQLXML
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
registerOutParameter
- Specified by:
registerOutParameter
in interfaceCallableStatement
- Throws:
SQLException
-
wasNull
- Specified by:
wasNull
in interfaceCallableStatement
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceCallableStatement
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceCallableStatement
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceCallableStatement
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceCallableStatement
- Throws:
SQLException
-
getRowId
- Specified by:
getRowId
in interfaceCallableStatement
- Throws:
SQLException
-
getRowId
- Specified by:
getRowId
in interfaceCallableStatement
- Throws:
SQLException
-
getNClob
- Specified by:
getNClob
in interfaceCallableStatement
- Throws:
SQLException
-
getNClob
- Specified by:
getNClob
in interfaceCallableStatement
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceCallableStatement
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceCallableStatement
- Throws:
SQLException
-
getNString
- Specified by:
getNString
in interfaceCallableStatement
- Throws:
SQLException
-
getNString
- Specified by:
getNString
in interfaceCallableStatement
- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceCallableStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfacePreparedStatement
- Throws:
SQLException
-
setBoolean
- Specified by:
setBoolean
in interfacePreparedStatement
- Throws:
SQLException
-
setByte
- Specified by:
setByte
in interfacePreparedStatement
- Throws:
SQLException
-
setShort
- Specified by:
setShort
in interfacePreparedStatement
- Throws:
SQLException
-
setInt
- Specified by:
setInt
in interfacePreparedStatement
- Throws:
SQLException
-
setLong
- Specified by:
setLong
in interfacePreparedStatement
- Throws:
SQLException
-
setFloat
- Specified by:
setFloat
in interfacePreparedStatement
- Throws:
SQLException
-
setDouble
- Specified by:
setDouble
in interfacePreparedStatement
- Throws:
SQLException
-
setURL
- Specified by:
setURL
in interfacePreparedStatement
- Throws:
SQLException
-
setArray
- Specified by:
setArray
in interfacePreparedStatement
- Throws:
SQLException
-
setTime
- Specified by:
setTime
in interfacePreparedStatement
- Throws:
SQLException
-
setTime
- Specified by:
setTime
in interfacePreparedStatement
- Throws:
SQLException
-
setDate
- Specified by:
setDate
in interfacePreparedStatement
- Throws:
SQLException
-
setDate
- Specified by:
setDate
in interfacePreparedStatement
- Throws:
SQLException
-
getMetaData
- Specified by:
getMetaData
in interfacePreparedStatement
- Throws:
SQLException
-
executeQuery
- Specified by:
executeQuery
in interfacePreparedStatement
- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfacePreparedStatement
- Throws:
SQLException
-
addBatch
- Specified by:
addBatch
in interfacePreparedStatement
- Throws:
SQLException
-
executeLargeUpdate
- Specified by:
executeLargeUpdate
in interfacePreparedStatement
- Throws:
SQLException
-
setNull
- Specified by:
setNull
in interfacePreparedStatement
- Throws:
SQLException
-
setNull
- Specified by:
setNull
in interfacePreparedStatement
- Throws:
SQLException
-
setBigDecimal
- Specified by:
setBigDecimal
in interfacePreparedStatement
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfacePreparedStatement
- Throws:
SQLException
-
setBytes
- Specified by:
setBytes
in interfacePreparedStatement
- Throws:
SQLException
-
setTimestamp
- Specified by:
setTimestamp
in interfacePreparedStatement
- Throws:
SQLException
-
setTimestamp
- Specified by:
setTimestamp
in interfacePreparedStatement
- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStream
in interfacePreparedStatement
- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStream
in interfacePreparedStatement
- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStream
in interfacePreparedStatement
- Throws:
SQLException
-
setUnicodeStream
- Specified by:
setUnicodeStream
in interfacePreparedStatement
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfacePreparedStatement
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfacePreparedStatement
- Throws:
SQLException
-
setBinaryStream
- Specified by:
setBinaryStream
in interfacePreparedStatement
- Throws:
SQLException
-
clearParameters
- Specified by:
clearParameters
in interfacePreparedStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfacePreparedStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfacePreparedStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfacePreparedStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfacePreparedStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfacePreparedStatement
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfacePreparedStatement
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfacePreparedStatement
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfacePreparedStatement
- Throws:
SQLException
-
setRef
- Specified by:
setRef
in interfacePreparedStatement
- Throws:
SQLException
-
setBlob
- Specified by:
setBlob
in interfacePreparedStatement
- Throws:
SQLException
-
setBlob
- Specified by:
setBlob
in interfacePreparedStatement
- Throws:
SQLException
-
setBlob
- Specified by:
setBlob
in interfacePreparedStatement
- Throws:
SQLException
-
setClob
- Specified by:
setClob
in interfacePreparedStatement
- Throws:
SQLException
-
setClob
- Specified by:
setClob
in interfacePreparedStatement
- Throws:
SQLException
-
setClob
- Specified by:
setClob
in interfacePreparedStatement
- Throws:
SQLException
-
getParameterMetaData
- Specified by:
getParameterMetaData
in interfacePreparedStatement
- Throws:
SQLException
-
setRowId
- Specified by:
setRowId
in interfacePreparedStatement
- Throws:
SQLException
-
setNString
- Specified by:
setNString
in interfacePreparedStatement
- Throws:
SQLException
-
setNCharacterStream
- Specified by:
setNCharacterStream
in interfacePreparedStatement
- Throws:
SQLException
-
setNCharacterStream
- Specified by:
setNCharacterStream
in interfacePreparedStatement
- Throws:
SQLException
-
setNClob
- Specified by:
setNClob
in interfacePreparedStatement
- Throws:
SQLException
-
setNClob
- Specified by:
setNClob
in interfacePreparedStatement
- Throws:
SQLException
-
setNClob
- Specified by:
setNClob
in interfacePreparedStatement
- Throws:
SQLException
-
setSQLXML
- Specified by:
setSQLXML
in interfacePreparedStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
SQLException
-
cancel
- Specified by:
cancel
in interfaceStatement
- Throws:
SQLException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceStatement
- Throws:
SQLException
-
getConnection
- Specified by:
getConnection
in interfaceStatement
- Throws:
SQLException
-
getWarnings
- Specified by:
getWarnings
in interfaceStatement
- Throws:
SQLException
-
clearWarnings
- Specified by:
clearWarnings
in interfaceStatement
- Throws:
SQLException
-
isClosed
- Specified by:
isClosed
in interfaceStatement
- Throws:
SQLException
-
executeQuery
- Specified by:
executeQuery
in interfaceStatement
- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
SQLException
-
getMaxFieldSize
- Specified by:
getMaxFieldSize
in interfaceStatement
- Throws:
SQLException
-
setMaxFieldSize
- Specified by:
setMaxFieldSize
in interfaceStatement
- Throws:
SQLException
-
getMaxRows
- Specified by:
getMaxRows
in interfaceStatement
- Throws:
SQLException
-
setMaxRows
- Specified by:
setMaxRows
in interfaceStatement
- Throws:
SQLException
-
setEscapeProcessing
- Specified by:
setEscapeProcessing
in interfaceStatement
- Throws:
SQLException
-
getQueryTimeout
- Specified by:
getQueryTimeout
in interfaceStatement
- Throws:
SQLException
-
setQueryTimeout
- Specified by:
setQueryTimeout
in interfaceStatement
- Throws:
SQLException
-
setCursorName
- Specified by:
setCursorName
in interfaceStatement
- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSet
in interfaceStatement
- Throws:
SQLException
-
getUpdateCount
- Specified by:
getUpdateCount
in interfaceStatement
- Throws:
SQLException
-
getMoreResults
- Specified by:
getMoreResults
in interfaceStatement
- Throws:
SQLException
-
getMoreResults
- Specified by:
getMoreResults
in interfaceStatement
- Throws:
SQLException
-
setFetchDirection
- Specified by:
setFetchDirection
in interfaceStatement
- Throws:
SQLException
-
getFetchDirection
- Specified by:
getFetchDirection
in interfaceStatement
- Throws:
SQLException
-
setFetchSize
- Specified by:
setFetchSize
in interfaceStatement
- Throws:
SQLException
-
getFetchSize
- Specified by:
getFetchSize
in interfaceStatement
- Throws:
SQLException
-
getResultSetConcurrency
- Specified by:
getResultSetConcurrency
in interfaceStatement
- Throws:
SQLException
-
getResultSetType
- Specified by:
getResultSetType
in interfaceStatement
- Throws:
SQLException
-
addBatch
- Specified by:
addBatch
in interfaceStatement
- Throws:
SQLException
-
clearBatch
- Specified by:
clearBatch
in interfaceStatement
- Throws:
SQLException
-
executeBatch
- Specified by:
executeBatch
in interfaceStatement
- Throws:
SQLException
-
getGeneratedKeys
- Specified by:
getGeneratedKeys
in interfaceStatement
- Throws:
SQLException
-
getResultSetHoldability
- Specified by:
getResultSetHoldability
in interfaceStatement
- Throws:
SQLException
-
setPoolable
- Specified by:
setPoolable
in interfaceStatement
- Throws:
SQLException
-
isPoolable
- Specified by:
isPoolable
in interfaceStatement
- Throws:
SQLException
-
closeOnCompletion
- Specified by:
closeOnCompletion
in interfaceStatement
- Throws:
SQLException
-
isCloseOnCompletion
- Specified by:
isCloseOnCompletion
in interfaceStatement
- Throws:
SQLException
-
getLargeUpdateCount
- Specified by:
getLargeUpdateCount
in interfaceStatement
- Throws:
SQLException
-
setLargeMaxRows
- Specified by:
setLargeMaxRows
in interfaceStatement
- Throws:
SQLException
-
getLargeMaxRows
- Specified by:
getLargeMaxRows
in interfaceStatement
- Throws:
SQLException
-
executeLargeBatch
- Specified by:
executeLargeBatch
in interfaceStatement
- Throws:
SQLException
-
executeLargeUpdate
- Specified by:
executeLargeUpdate
in interfaceStatement
- Throws:
SQLException
-
executeLargeUpdate
- Specified by:
executeLargeUpdate
in interfaceStatement
- Throws:
SQLException
-
executeLargeUpdate
- Specified by:
executeLargeUpdate
in interfaceStatement
- Throws:
SQLException
-
executeLargeUpdate
- Specified by:
executeLargeUpdate
in interfaceStatement
- Throws:
SQLException
-
enquoteLiteral
- Specified by:
enquoteLiteral
in interfaceStatement
- Throws:
SQLException
-
enquoteIdentifier
- Specified by:
enquoteIdentifier
in interfaceStatement
- Throws:
SQLException
-
isSimpleIdentifier
- Specified by:
isSimpleIdentifier
in interfaceStatement
- Throws:
SQLException
-
enquoteNCharLiteral
- Specified by:
enquoteNCharLiteral
in interfaceStatement
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
toString
-
detachProxyResultSet
- Specified by:
detachProxyResultSet
in interfaceProxyResultSetDetachable
-
rawStatementOperation
public Object rawStatementOperation(Method m, Object target, Object[] args) throws IllegalAccessException, InvocationTargetException, SQLException Description copied from interface:C3P0ProxyStatement
Allows one to work with the unproxied, raw vendor-provided Statement . Some database companies never got over the "common interfaces mean no more vendor lock-in!" thing, and offer non-standard API on their Statements. This method permits you to "pierce" the connection-pooling layer to call non-standard methods on the original Statement, or to pass the original Statement to functions that are not implementation neutral.
To use this functionality, you'll need to cast a Statement retrieved from a c3p0-provided Connection to a C3P0ProxyStatement.
This method works by making a reflective call of method m on Object target (which may be null for static methods), passing and argument list args. For the method target, or for any argument, you may substitute the special token C3P0ProxyStatement.RAW_STATEMENT
Any ResultSets returned by the operation will be proxied and c3p0-managed, meaning that these resources will be automatically closed if the user does not close them first when this Statement is closed or checked into the statement cache. Any other resources returned by the operation are the user's responsibility to clean up!
If you have turned statement pooling on, incautious use of this method can corrupt the PreparedStatement cache, by breaking the invariant that all cached PreparedStatements should be equivalent to a PreparedStatement newly created with the same arguments to prepareStatement(...) or prepareCall(...). If your vendor supplies API that allows you to modify the state or configuration of a Statement in some nonstandard way, and you do not undo this modification prior to closing the Statement or the Connection that prepared it, future preparers of the same Statement may or may not see your modification, depending on your use of the cache. Thus, it is inadvisable to use this method to call nonstandard mutators on PreparedStatements if statement pooling is turned on..
- Specified by:
rawStatementOperation
in interfaceC3P0ProxyStatement
- Throws:
IllegalAccessException
InvocationTargetException
SQLException
-