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.
-
ParamRegProfile(DynamicProfile)
- Creates a new object which operates on the passed profile data using the
passed connection.
-
getStatement(int)
-
Creates a statement using the underlying dynamic profile.
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
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