All Packages This Package Previous Next
Class sqlj.runtime.profile.ref.UntypedSelectProfile
java.lang.Object
|
+----sqlj.runtime.profile.ref.ProfileWrapper
|
+----sqlj.runtime.profile.ref.DynamicProfileWrapper
|
+----sqlj.runtime.profile.ref.UntypedSelectProfile
- public class UntypedSelectProfile
- extends DynamicProfileWrapper
An UntypedSelectStatement is a locally implemented statement which
augments the functionality of the statement creation methods by
intercepting any entries flagged as UNTYPED_SELECT and handling the
execute of such an entry by creating an untyped iterator result.
All set calls are deferred to the underlying object. executeUpdate
is remapped to executeQuery. getObject is made to return result of
executeQuery.
-
UntypedSelectProfile(DynamicProfile)
- Creates a new untyped select profile using that defers to the
passed dynamic profile.
-
getStatement(int)
- Returns the result of calling the
getStatement
method on
the underlying connected profile.
UntypedSelectProfile
public UntypedSelectProfile(DynamicProfile p)
- Creates a new untyped select profile using that defers to the
passed dynamic profile.
getStatement
public RTStatement getStatement(int ndx) throws SQLException
- Returns the result of calling the
getStatement
method on
the underlying connected profile. If the current entry is an
UNTYPED_SELECT, the statement is wrapped in an UntypedSelectStatement.
- Throws: SQLException
- if an error occurs in the wrapped profile
- Overrides:
- getStatement in class ProfileWrapper
All Packages This Package Previous Next