SQL/MX Programming Manual for Java

SQLJ Error Messages
HP NonStop SQL/MX Programming Manual for Java523726-003
D-14
Semantic Analysis (0201-000100—0201-022306)
0201-001306
Cause. The data type of host variable #num was not a valid JDBC type.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that the data type of host variable #num is a valid JDBC type and
resubmit. For details, see the Data Type Support on page 3-32.
0201-001307
Cause. The data type of host variable name at position #num was not a valid JDBC
type.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that the data type of host variable name at position #num is a valid
JDBC type and resubmit. For details, see the Data Type Support on page 3-32.
0201-001308
Cause. SQLJ encountered an illegal Java type javatype for column col.
Effect. The SQLJ translator fails during semantic analysis.
Recovery. Verify that the Java type javatype for column col is a legal type and
resubmit. For details, see the Data Type Support
on page 3-32.
0201-001400
Cause. The SQLJ translator received an exception from JDBC while trying to verify
the compatibility between the database column type sqltype and the host variable
type javatype.
Effect. The SQLJ translator fails during semantic analysis.
[0201-001306] Type javatype of host item #num is not
permitted in JDBC. This will not be portable.
[0201-001307] Type
javatype of host item name (at position
#
num) is not permitted in JDBC. This will not be portable.
[0201-001308] Java type
javatype for column col is illegal.
[0201-001400] JDBC does not specify that column
col javatype
is compatible with database type
sqltype. Conversion is non-
portable and may result in a runtime error.