All Packages    This Package  Previous  Next  

Class sqlj.runtime.profile.ref.ParamRegProfile

java.lang.Object
   |
   +----sqlj.runtime.profile.ref.ProfileWrapper
           |
           +----sqlj.runtime.profile.ref.DynamicProfileWrapper
                   |
                   +----sqlj.runtime.profile.ref.ParamRegProfile

public class ParamRegProfile
extends DynamicProfileWrapper
A ParamRegProfile is a dynamic connected profile that registers the out parameters of any statements with statement type CALLABLE before returning them to the caller.


Constructor Index

 o ParamRegProfile(DynamicProfile)
Creates a new object which operates on the passed profile data using the passed connection.

Method Index

 o getStatement(int)
Creates a statement using the underlying dynamic profile.

Constructors

 o ParamRegProfile
 public ParamRegProfile(DynamicProfile profile)
Creates a new object which operates on the passed profile data using the passed connection.

Parameters:
conn - the JDBC connection from which to create statements
profileData - the profile data with which to operate
See Also:
getConnectedProfile

Methods

 o getStatement
 public RTStatement getStatement(int ndx) throws SQLException
Creates a statement using the underlying dynamic profile. If the statementType is CALLABLE, then out-parameters of the statement are registered using registerOutParameter of the RTCallableStatement befoer it is returned.

Throws: SQLException
if an error occurs in the underlying profile, or while registering pameters
Overrides:
getStatement in class ProfileWrapper
See Also:
getStatementType, getParamInfo, getMode, getSQLType

All Packages    This Package  Previous  Next