JDBC Driver for SQL/MX Programmer's Reference

[back to the top]
29020 07009 Invalid parameter index
Cause: A getter or setter method parameter count index is outside of the valid input-descriptor
range, or the input-descriptor range is null.
Effect: The getter and setter method invocation validation fails.
Recovery: Change the getter or setter parameter index to a valid parameter value.
[back to the top]
29021 HY004 Object type not supported
Cause: A prepared-statement setObject() method call contains an unsupported Object
Type.
Effect: The setObject() method does not set a value for the designated parameter.
Recovery: Informational message only; no corrective action is needed. Valid Object Types are:
null, BigDecimal, Date, Time, Timestamp, Double, Float, Long, Short, Byte,
Boolean, String, byte[], Clob, and Blob.
[back to the top]
29022 HY010 Function sequence error
Cause: The PreparedStatement.execute() method does not support the use of the
PreparedStatement.addBatch() method.
Effect: An exception is reported; the operation is not completed.
Recovery: Use the PreparedStatement.executeBatch() method.
[back to the top]
29023 HY109 The cursor is before the first row, therefore no
data can be retrieved.
Cause: getCurrentRow() is called when the cursor is before the first row.
Effect: An exception is reported; no data is retrieved.
Recovery: Validate the application call to the getCurrentRow() method.
[back to the top]