[reporter="angel", created="Mon, 22 May 2006 23:40:54 -0500 (GMT-05:00)"]
The JDBC get (for ResultSet) and set (for PreparedStatement) functions have some validation - like checking if it's okay to convert from one type to another, if string is too long, etc. It's still missing validation for the following cases:
getByte, getInteger, getShort, getLong doesn't check for overflow
setLong doesn't catch overflow
There are probably more cases where validation is needed.
[reporter="angel", created="Mon, 22 May 2006 23:40:54 -0500 (GMT-05:00)"] The JDBC get (for ResultSet) and set (for PreparedStatement) functions have some validation - like checking if it's okay to convert from one type to another, if string is too long, etc. It's still missing validation for the following cases:
There are probably more cases where validation is needed.