dynamobi/dynamobi — Issue #737: [FRG-134] JDBC validation for set/get functions incomplete
Author: dynamobi-build
Created: 2011-12-30 03:46:15+00:00
State: open
Labels: FRG, JDBC Client Driver

[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:

1. getByte, getInteger, getShort, getLong doesn't check for overflow

2. setLong doesn't catch overflow

There are probably more cases where validation is needed.