SQL/MX Programming Manual for Java
SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java—523726-003
D-15
Semantic Analysis (0201-000100—0201-022306)
Recovery. Verify that sqltype and javatype are compatible and resubmit. For
details, see Data Type Support on page 3-32. If the error recurs, report the entire
message to your service provider.
0201-001500
Cause. The host variable type javatype and the database column type sqltype
are incompatible. For example, you tried to store TIMESTAMP data in an integer host
variable.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that javatype and sqltype are compatible and resubmit. For
details, see Data Type Support on page 3-32.
0201-001600
Cause. A loss of precision might have occurred in the conversion from sqltype to
javatype. For example, you tried to store DECIMAL data in a Java host variable
defined with the Short data type.
Effect. You might get unexpected results at run time.
Recovery. Verify that there is no further loss of precision in converting sqltype to
javatype, or converting javatype to sqltype, and resubmit.
0201-001700
Cause. SQLJ received an error message from the database while performing online
syntax checking. For example, there was a missing table or column.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Examine the database error message. For details, see the SQL/MX
Messages Manual. If the error recurs, report the entire message to your service
provider.
[0201-001500] Column javatype col is not compatible with
database type
sqltype
[0201-001600] Loss of precision possible in conversion from
sqltype to column javatype col.
[0201-001700] Unable to check SQL statement. Error returned
by database is:
error-message