SQL/MX Programming Manual for Java

SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java523726-003
D-94
SQLJ Run-Time Messages
Effect. SQLJ cannot execute this statement.
Recovery. Verify that the iterator declaration clause implements ForUpdate. For
details, see the Iterator Declaration Clause on page A-2. If the error recurs, report the
entire message to your service provider.
SQLSTATE 46130
Cause. The SQLJ run time expected this statement type to be
CALLABLE_STATEMENT in the profile entry, but it was not. For SQLJ to execute the
statement through prepareCall, the statement type value must be
CALLABLE_STATEMENT.
Effect. SQLJ cannot execute this statement.
Recovery. Report the entire message to your service provider.
SQLSTATE 46130
Cause. The SQLJ run time expected this statement type to be EXECUTE_UPDATE in
the profile entry, but it was not. For SQLJ to execute the statement through
executeUpdate, the execute type value must be EXECUTE_UPDATE.
Effect. SQLJ cannot execute this statement.
Recovery. Report the entire message to your service provider.
SQLSTATE 46130
Cause. The SQLJ run time expected this statement type to be
PREPARE_STATEMENT in the profile entry, but it was not. For SQLJ to execute the
statement through prepareStatement, the statement type value must be
PREPARE_STATEMENT.
Effect. SQLJ cannot execute this statement.
Recovery. Report the entire message to your service provider.
expected statement 'statement-name' to be created using
prepareCall
expected statement '
statement-name' to be executed via
executeUpdate
expected statement '
statement-name' to be prepared using
prepareStatement