JDBC Type 4 Driver 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.
[back to the top]
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.
[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.