LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
52 stars 24 forks source link

[FRG-134] JDBC validation for set/get functions incomplete #737

Open dynamobi-build opened 12 years ago

dynamobi-build commented 12 years ago

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