Tomisław Kityński wrote:
> But when I call getObject on ResultSet instance on the the
> column that is declared as SMALLINT i get an instance of Integer.
The driver is behaving correctly. See table B-3 in the JDBC 3.0
specification - TINYINT, SMALLINT and INTEGER are all mapped to
java.lang.Integer by ResultSet.getObject().
-O