Package oracle.jdbc.babelfish
Class BabelfishCallableStatement
java.lang.Object
oracle.jdbc.babelfish.BabelfishGenericProxy
oracle.jdbc.babelfish.BabelfishStatement
oracle.jdbc.babelfish.BabelfishPreparedStatement
oracle.jdbc.babelfish.BabelfishCallableStatement
Proxy Superclass for java.sql.CallableStatement interface. It is used
by the Oracle JDBC proxy library to proxify java.sql.CallableStatement objects
to support the auto translation features.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Objectprotected abstract Objectprotected Objectpost_Methods(Method m, Object result) Post interceptor.voidregisterOutParameter(int parameterIndex, int sqlType) Translation compliant implementation of java.sql.CallableStatement#registerOutParameter(int, int)voidregisterOutParameter(int parameterIndex, int sqlType, int scale) Translation compliant implementation of java.sql.CallableStatement#registerOutParameter(int, int, int)voidregisterOutParameter(int parameterIndex, int sqlType, String typeName) Translation compliant implementation of java.sql.CallableStatement#registerOutParameter(int, int, java.lang.String)protected ObjecttranslateError(Method m, SQLException ex) Interceptor for translation of errors.Methods inherited from class oracle.jdbc.babelfish.BabelfishPreparedStatement
proxify, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLMethods inherited from class oracle.jdbc.babelfish.BabelfishStatement
addBatch, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate
-
Constructor Details
-
BabelfishCallableStatement
public BabelfishCallableStatement()
-
-
Method Details
-
getCreator
- Specified by:
getCreatorin classBabelfishPreparedStatement- Returns:
-
getDelegate
- Specified by:
getDelegatein classBabelfishPreparedStatement- Returns:
-
translateError
Interceptor for translation of errors.- Overrides:
translateErrorin classBabelfishPreparedStatement- Returns:
- Throws:
SQLException
-
post_Methods
Post interceptor. sets up the translator in relevant objects required for handling error translation in those objects.- Overrides:
post_Methodsin classBabelfishPreparedStatement- Returns:
-
registerOutParameter
Translation compliant implementation of java.sql.CallableStatement#registerOutParameter(int, int)- Parameters:
parameterIndex-sqlType-- Throws:
SQLException- See Also:
-
registerOutParameter
Translation compliant implementation of java.sql.CallableStatement#registerOutParameter(int, int, int)- Parameters:
parameterIndex-sqlType-scale-- Throws:
SQLException- See Also:
-
registerOutParameter
public void registerOutParameter(int parameterIndex, int sqlType, String typeName) throws SQLException Translation compliant implementation of java.sql.CallableStatement#registerOutParameter(int, int, java.lang.String)- Parameters:
parameterIndex-sqlType-typeName-- Throws:
SQLException- See Also:
-