JDBC Type 4 Driver 1.1 Programmer's Reference
29018 22018 Invalid character value in cast specification
Cause. An attempt was made to convert a string to a numeric type but the string does not have
the appropriate format.
Effect. Strings that are obtained through a getter method cannot be cast to the method type.
Recovery. Validate the string in the database to make sure it is a compatible type.
29019 07002 Parameter {0, number, integer} for {1, number, integer} set of parameters is
not set
Cause. An input descriptor contains a parameter that does not have a value set.
Effect. The method checkIfAllParamsSet() reports the parameter that is not set.
Recovery. Set a value for the listed parameter.
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.
29021 HY004 Object type not supported
Cause. A PreparedStatement.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.
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.
29026 HY000 Transaction can't be committed or rolled back when AutoCommit mode is
on
Cause. An attempt was made to commit a transaction while AutoCommit mode is enabled.
Effect. The transaction is not committed.
Recovery. Disable AutoCommit. Use the method only when the AutoCommit mode is