Improper type conversion from smallint to short

From: Igor Urisman <igor(dot)urisman(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Improper type conversion from smallint to short
Date: 2013-03-14 22:27:18
Message-ID: CAJ9OwnUyCP022aagiCyO1kXGfWZwtqKPv-9YHWmr+T7MtqnhRA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello,
It appears that ResultSet.getObject(String name) returns Integer for
database type Types.SMALLINT (5) I expected Short.
Thanks,
Igor.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2013-03-15 00:27:02 Re: Improper type conversion from smallint to short
Previous Message Florent Guillaume 2013-03-14 11:03:18 Re: A new JDBC driver...