All Packages    This Package  Previous  Next  

Interface sqlj.runtime.profile.ref.RTCallableStatement

public interface RTCallableStatement
extends RTStatement
The RTCallableStatement is an extension of RTStatement that add the ability to rgister out parameters. This is used by dynamic-based implementations that require out-parameters to be registered after a statement has been created, but before is has been executed.

See Also:
DynamicProfile

Method Index

 o registerOutParameter(int, int)
Registers the java.sql.Type of the given out parameter.

Methods

 o registerOutParameter
 public abstract void registerOutParameter(int columnIndex,
                                           int sqlType) throws SQLException
Registers the java.sql.Type of the given out parameter.

Note: For the default implementation, the sqlType passed will be the sqlType of the TypeInfo object corresponding to the given parameter in the profile.

Parameters:
columnIndex - the first parameter is 1, the second is 2,...
sqlType - SQL type code defined by java.sql.Types
Throws: SQLException
if a database-access error occurs.

All Packages    This Package  Previous  Next