SQL/MX Programming Manual for Java
SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java—523726-003
D-92
SQLJ Run-Time Messages
SQLSTATE 08003
Cause. The SQLJ run time found a Null connection context.
Effect. SQLJ cannot execute this statement.
Recovery. Report the entire message to your service provider.
SQLSTATE 21000
Cause. You tried to select a single row into a host variable using the INTO clause, but
multiple rows fit the selection criteria.
Effect. SQLJ cannot execute this statement.
Recovery. Verify that only a single row that fits the selection criteria exists in the table
and resubmit.
SQLSTATE 22002
Cause. You tried to fetch an SQL null into a Java primitive type.
Effect. SQLJ cannot execute this statement.
Recovery. Verify that the Java type is not a primitive type, use the corresponding
wrapper class, and resubmit. For details, see Data Type Support on page 3-32.
SQLSTATE 22005
Cause. The SQLJ run time found a data type incompatibility between a database type
and a host variable type.
Effect. SQLJ cannot execute this statement.
Recovery. Verify that the host variable and database types are compatible. For
details, see Data Type Support on page 3-32. If the error recurs, report the entire
message to your service provider.
found null connection context
multiple rows found for select into statement
cannot fetch null into primitive data type
unable to convert database
found-type-class to client
expected-type-class