SQL/MX Programming Manual for Java

SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java523726-003
D-23
Semantic Analysis (0201-000100—0201-022306)
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Confirm that you have the correct JDBC driver and can retrieve metadata
from JDBC properly and then resubmit. See Verifying the JDBC/MX Driver on
page 2-3. If the error recurs, report the entire message to your service provider.
0201-006901
Cause. SQLJ could not obtain argument information of the stored procedure
routine-name from the java.sql.DatabaseMetaData object. The cause might
be the JDBC driver.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Confirm that you have the correct JDBC driver and can retrieve metadata
from JDBC properly and then resubmit. See Verifying the JDBC/MX Driver on
page 2-3. If the error recurs, report the entire message to your service provider.
0201-007000
Cause. You specified a connection context [type-name] that does not implement a
ConnectionContext interface.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that the connection context declaration is valid and that you are
using the correct connection context object in the context clause and then resubmit.
For details, see Connection Contexts
on page 3-8.
0201-007001
Cause. You specified an execution context [type-name] that does not use an
ExecutionContext class.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that the execution context declaration is valid and that you are using
the correct execution context object in the context clause and then resubmit. For
details, see Execution Contexts on page 3-20.
[0201-006901] Unable to obtain parameters and result columns
description of stored function or procedure:
routine-name.
[0201-007000] The type of the context expression is
type-name. It does not implement connection context.
[0201-007001] The type of the statement execution context is
type-name. It does not implement an ExecutionContext.