JDBC Data Type to Java Data Type Mapping Constraints
Database Application has some constraints when mapping JDBC data types to Java data types.
If you select one of the following Java data types, the data type will map exactly to the Input/Output of operation:
java.lang.String
java.lang.Byte
java.lang.Boolean
java.lang.Character
java.lang.Double
java.lang.Float
java.lang.Integer
java.lang.Long
java.lang.Short
java.util.Date
java.math.BigDecimal
java.math.BigInteger
java.lang.Object
Those data types not included in this list will map to java.lang.Object. In these cases, if the JDBC data type you specify is for input, you will need to pass in the object with the selected Java data type. If the JDBC type is for output, you can cast the object to the selected Java data type.