public class P6CallableStatement extends P6PreparedStatement implements CallableStatement
Modifier and Type | Field and Description |
---|---|
protected String |
callableQuery |
protected CallableStatement |
callStmtPassthru |
isString, P6_GROW_MAX, P6_MAX_FIELDS, preparedQuery, prepStmtPassthru, values
connection, passthru, statementQuery
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
P6CallableStatement(P6Factory factory,
CallableStatement statement,
P6Connection conn,
String query) |
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, getQueryFromPreparedStatement, getResultSet, getValuesLength, growValues, initValues, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setObjectAsInt, setObjectAsString, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrap
getP6Factory, setP6Factory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setObject, setObject
addBatch, clearParameters, execute, executeLargeUpdate, 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, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, 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, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
isWrapperFor, unwrap
protected CallableStatement callStmtPassthru
protected String callableQuery
public P6CallableStatement(P6Factory factory, CallableStatement statement, P6Connection conn, String query)
public String getString(int p0) throws SQLException
getString
in interface CallableStatement
SQLException
public void registerOutParameter(int p0, int p1) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(int p0, int p1, int p2) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(int p0, int p1, String p2) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public boolean wasNull() throws SQLException
wasNull
in interface CallableStatement
SQLException
public Array getArray(int p0) throws SQLException
getArray
in interface CallableStatement
SQLException
public BigDecimal getBigDecimal(int p0) throws SQLException
getBigDecimal
in interface CallableStatement
SQLException
public BigDecimal getBigDecimal(int p0, int p1) throws SQLException
getBigDecimal
in interface CallableStatement
SQLException
public Blob getBlob(int p0) throws SQLException
getBlob
in interface CallableStatement
SQLException
public boolean getBoolean(int p0) throws SQLException
getBoolean
in interface CallableStatement
SQLException
public byte getByte(int p0) throws SQLException
getByte
in interface CallableStatement
SQLException
public byte[] getBytes(int p0) throws SQLException
getBytes
in interface CallableStatement
SQLException
public Clob getClob(int p0) throws SQLException
getClob
in interface CallableStatement
SQLException
public Date getDate(int p0) throws SQLException
getDate
in interface CallableStatement
SQLException
public Date getDate(int p0, Calendar calendar) throws SQLException
getDate
in interface CallableStatement
SQLException
public double getDouble(int p0) throws SQLException
getDouble
in interface CallableStatement
SQLException
public float getFloat(int p0) throws SQLException
getFloat
in interface CallableStatement
SQLException
public int getInt(int p0) throws SQLException
getInt
in interface CallableStatement
SQLException
public long getLong(int p0) throws SQLException
getLong
in interface CallableStatement
SQLException
public Object getObject(int p0) throws SQLException
getObject
in interface CallableStatement
SQLException
public Object getObject(int p0, Map p1) throws SQLException
getObject
in interface CallableStatement
SQLException
public Ref getRef(int p0) throws SQLException
getRef
in interface CallableStatement
SQLException
public short getShort(int p0) throws SQLException
getShort
in interface CallableStatement
SQLException
public Time getTime(int p0) throws SQLException
getTime
in interface CallableStatement
SQLException
public Time getTime(int p0, Calendar p1) throws SQLException
getTime
in interface CallableStatement
SQLException
public Timestamp getTimestamp(int p0) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
public Timestamp getTimestamp(int p0, Calendar p1) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
public void registerOutParameter(String p0, int p1) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(String p0, int p1, int p2) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public void registerOutParameter(String p0, int p1, String p2) throws SQLException
registerOutParameter
in interface CallableStatement
SQLException
public URL getURL(int p0) throws SQLException
getURL
in interface CallableStatement
SQLException
public void setURL(String p0, URL p1) throws SQLException
setURL
in interface CallableStatement
SQLException
public void setNull(String p0, int p1) throws SQLException
setNull
in interface CallableStatement
SQLException
public void setBoolean(String p0, boolean p1) throws SQLException
setBoolean
in interface CallableStatement
SQLException
public void setByte(String p0, byte p1) throws SQLException
setByte
in interface CallableStatement
SQLException
public void setShort(String p0, short p1) throws SQLException
setShort
in interface CallableStatement
SQLException
public void setInt(String p0, int p1) throws SQLException
setInt
in interface CallableStatement
SQLException
public void setLong(String p0, long p1) throws SQLException
setLong
in interface CallableStatement
SQLException
public void setFloat(String p0, float p1) throws SQLException
setFloat
in interface CallableStatement
SQLException
public void setDouble(String p0, double p1) throws SQLException
setDouble
in interface CallableStatement
SQLException
public void setBigDecimal(String p0, BigDecimal p1) throws SQLException
setBigDecimal
in interface CallableStatement
SQLException
public void setString(String p0, String p1) throws SQLException
setString
in interface CallableStatement
SQLException
public void setBytes(String p0, byte[] p1) throws SQLException
setBytes
in interface CallableStatement
SQLException
public void setDate(String p0, Date p1) throws SQLException
setDate
in interface CallableStatement
SQLException
public void setTime(String p0, Time p1) throws SQLException
setTime
in interface CallableStatement
SQLException
public void setTimestamp(String p0, Timestamp p1) throws SQLException
setTimestamp
in interface CallableStatement
SQLException
public void setAsciiStream(String p0, InputStream p1, int p2) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
public void setBinaryStream(String p0, InputStream p1, int p2) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
public void setObject(String p0, Object p1, int p2, int p3) throws SQLException
setObject
in interface CallableStatement
SQLException
public void setObject(String p0, Object p1, int p2) throws SQLException
setObject
in interface CallableStatement
SQLException
public void setObject(String p0, Object p1) throws SQLException
setObject
in interface CallableStatement
SQLException
public void setCharacterStream(String p0, Reader p1, int p2) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
public void setDate(String p0, Date p1, Calendar p2) throws SQLException
setDate
in interface CallableStatement
SQLException
public void setTime(String p0, Time p1, Calendar p2) throws SQLException
setTime
in interface CallableStatement
SQLException
public void setTimestamp(String p0, Timestamp p1, Calendar p2) throws SQLException
setTimestamp
in interface CallableStatement
SQLException
public void setNull(String p0, int p1, String p2) throws SQLException
setNull
in interface CallableStatement
SQLException
public String getString(String p0) throws SQLException
getString
in interface CallableStatement
SQLException
public boolean getBoolean(String p0) throws SQLException
getBoolean
in interface CallableStatement
SQLException
public byte getByte(String p0) throws SQLException
getByte
in interface CallableStatement
SQLException
public short getShort(String p0) throws SQLException
getShort
in interface CallableStatement
SQLException
public int getInt(String p0) throws SQLException
getInt
in interface CallableStatement
SQLException
public long getLong(String p0) throws SQLException
getLong
in interface CallableStatement
SQLException
public float getFloat(String p0) throws SQLException
getFloat
in interface CallableStatement
SQLException
public double getDouble(String p0) throws SQLException
getDouble
in interface CallableStatement
SQLException
public byte[] getBytes(String p0) throws SQLException
getBytes
in interface CallableStatement
SQLException
public Date getDate(String p0) throws SQLException
getDate
in interface CallableStatement
SQLException
public Time getTime(String p0) throws SQLException
getTime
in interface CallableStatement
SQLException
public Timestamp getTimestamp(String p0) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
public Object getObject(String p0) throws SQLException
getObject
in interface CallableStatement
SQLException
public BigDecimal getBigDecimal(String p0) throws SQLException
getBigDecimal
in interface CallableStatement
SQLException
public Object getObject(String p0, Map p1) throws SQLException
getObject
in interface CallableStatement
SQLException
public Ref getRef(String p0) throws SQLException
getRef
in interface CallableStatement
SQLException
public Blob getBlob(String p0) throws SQLException
getBlob
in interface CallableStatement
SQLException
public Clob getClob(String p0) throws SQLException
getClob
in interface CallableStatement
SQLException
public Array getArray(String p0) throws SQLException
getArray
in interface CallableStatement
SQLException
public Date getDate(String p0, Calendar p1) throws SQLException
getDate
in interface CallableStatement
SQLException
public Time getTime(String p0, Calendar p1) throws SQLException
getTime
in interface CallableStatement
SQLException
public Timestamp getTimestamp(String p0, Calendar p1) throws SQLException
getTimestamp
in interface CallableStatement
SQLException
public URL getURL(String p0) throws SQLException
getURL
in interface CallableStatement
SQLException
public Statement getJDBC()
The returned object is a java.sql.Statement due to inheritance reasons, so you'll need to cast appropriately.
getJDBC
in class P6PreparedStatement
public void setAsciiStream(int arg0, InputStream arg1) throws SQLException
setAsciiStream
in interface PreparedStatement
setAsciiStream
in class P6PreparedStatement
SQLException
public void setAsciiStream(int arg0, InputStream arg1, long arg2) throws SQLException
setAsciiStream
in interface PreparedStatement
setAsciiStream
in class P6PreparedStatement
SQLException
public void setBinaryStream(int arg0, InputStream arg1) throws SQLException
setBinaryStream
in interface PreparedStatement
setBinaryStream
in class P6PreparedStatement
SQLException
public void setBinaryStream(int arg0, InputStream arg1, long arg2) throws SQLException
setBinaryStream
in interface PreparedStatement
setBinaryStream
in class P6PreparedStatement
SQLException
public void setBlob(int arg0, InputStream arg1) throws SQLException
setBlob
in interface PreparedStatement
setBlob
in class P6PreparedStatement
SQLException
public void setBlob(int arg0, InputStream arg1, long arg2) throws SQLException
setBlob
in interface PreparedStatement
setBlob
in class P6PreparedStatement
SQLException
public void setCharacterStream(int arg0, Reader arg1) throws SQLException
setCharacterStream
in interface PreparedStatement
setCharacterStream
in class P6PreparedStatement
SQLException
public void setCharacterStream(int arg0, Reader arg1, long arg2) throws SQLException
setCharacterStream
in interface PreparedStatement
setCharacterStream
in class P6PreparedStatement
SQLException
public void setClob(int arg0, Reader arg1) throws SQLException
setClob
in interface PreparedStatement
setClob
in class P6PreparedStatement
SQLException
public void setClob(int arg0, Reader arg1, long arg2) throws SQLException
setClob
in interface PreparedStatement
setClob
in class P6PreparedStatement
SQLException
public void setNCharacterStream(int arg0, Reader arg1) throws SQLException
setNCharacterStream
in interface PreparedStatement
setNCharacterStream
in class P6PreparedStatement
SQLException
public void setNCharacterStream(int arg0, Reader arg1, long arg2) throws SQLException
setNCharacterStream
in interface PreparedStatement
setNCharacterStream
in class P6PreparedStatement
SQLException
public void setNClob(int arg0, NClob arg1) throws SQLException
setNClob
in interface PreparedStatement
setNClob
in class P6PreparedStatement
SQLException
public void setNClob(int arg0, Reader arg1) throws SQLException
setNClob
in interface PreparedStatement
setNClob
in class P6PreparedStatement
SQLException
public void setNClob(int arg0, Reader arg1, long arg2) throws SQLException
setNClob
in interface PreparedStatement
setNClob
in class P6PreparedStatement
SQLException
public void setNString(int arg0, String arg1) throws SQLException
setNString
in interface PreparedStatement
setNString
in class P6PreparedStatement
SQLException
public void setRowId(int arg0, RowId arg1) throws SQLException
setRowId
in interface PreparedStatement
setRowId
in class P6PreparedStatement
SQLException
public void setSQLXML(int arg0, SQLXML arg1) throws SQLException
setSQLXML
in interface PreparedStatement
setSQLXML
in class P6PreparedStatement
SQLException
public Reader getCharacterStream(int arg0) throws SQLException
getCharacterStream
in interface CallableStatement
SQLException
public Reader getCharacterStream(String arg0) throws SQLException
getCharacterStream
in interface CallableStatement
SQLException
public Reader getNCharacterStream(int arg0) throws SQLException
getNCharacterStream
in interface CallableStatement
SQLException
public Reader getNCharacterStream(String arg0) throws SQLException
getNCharacterStream
in interface CallableStatement
SQLException
public NClob getNClob(int arg0) throws SQLException
getNClob
in interface CallableStatement
SQLException
public NClob getNClob(String arg0) throws SQLException
getNClob
in interface CallableStatement
SQLException
public String getNString(int arg0) throws SQLException
getNString
in interface CallableStatement
SQLException
public String getNString(String arg0) throws SQLException
getNString
in interface CallableStatement
SQLException
public <T> T getObject(int arg0, Class<T> arg1) throws SQLException
getObject
in interface CallableStatement
SQLException
public <T> T getObject(String arg0, Class<T> arg1) throws SQLException
getObject
in interface CallableStatement
SQLException
public RowId getRowId(int arg0) throws SQLException
getRowId
in interface CallableStatement
SQLException
public RowId getRowId(String arg0) throws SQLException
getRowId
in interface CallableStatement
SQLException
public SQLXML getSQLXML(int arg0) throws SQLException
getSQLXML
in interface CallableStatement
SQLException
public SQLXML getSQLXML(String arg0) throws SQLException
getSQLXML
in interface CallableStatement
SQLException
public void setAsciiStream(String arg0, InputStream arg1) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
public void setAsciiStream(String arg0, InputStream arg1, long arg2) throws SQLException
setAsciiStream
in interface CallableStatement
SQLException
public void setBinaryStream(String arg0, InputStream arg1) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
public void setBinaryStream(String arg0, InputStream arg1, long arg2) throws SQLException
setBinaryStream
in interface CallableStatement
SQLException
public void setBlob(String arg0, Blob arg1) throws SQLException
setBlob
in interface CallableStatement
SQLException
public void setBlob(String arg0, InputStream arg1) throws SQLException
setBlob
in interface CallableStatement
SQLException
public void setBlob(String arg0, InputStream arg1, long arg2) throws SQLException
setBlob
in interface CallableStatement
SQLException
public void setCharacterStream(String arg0, Reader arg1) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
public void setCharacterStream(String arg0, Reader arg1, long arg2) throws SQLException
setCharacterStream
in interface CallableStatement
SQLException
public void setClob(String arg0, Clob arg1) throws SQLException
setClob
in interface CallableStatement
SQLException
public void setClob(String arg0, Reader arg1) throws SQLException
setClob
in interface CallableStatement
SQLException
public void setClob(String arg0, Reader arg1, long arg2) throws SQLException
setClob
in interface CallableStatement
SQLException
public void setNCharacterStream(String arg0, Reader arg1) throws SQLException
setNCharacterStream
in interface CallableStatement
SQLException
public void setNCharacterStream(String arg0, Reader arg1, long arg2) throws SQLException
setNCharacterStream
in interface CallableStatement
SQLException
public void setNClob(String arg0, NClob arg1) throws SQLException
setNClob
in interface CallableStatement
SQLException
public void setNClob(String arg0, Reader arg1) throws SQLException
setNClob
in interface CallableStatement
SQLException
public void setNClob(String arg0, Reader arg1, long arg2) throws SQLException
setNClob
in interface CallableStatement
SQLException
public void setNString(String arg0, String arg1) throws SQLException
setNString
in interface CallableStatement
SQLException
public void setRowId(String arg0, RowId arg1) throws SQLException
setRowId
in interface CallableStatement
SQLException
public void setSQLXML(String arg0, SQLXML arg1) throws SQLException
setSQLXML
in interface CallableStatement
SQLException