Valeriy,
I would recommend using get/setLong(), since the oid is an unsigned
integer. get/setString should also work.
thanks,
--Barry
Valeriy Voitishchuk wrote:
> Hello
>
> Which setXXX() method should I use from java.sql.PreparedStatement
> interface to set value of the OID type (this is PostgreSQL type).
> setObject does not work :-(
>
> Same question about getXXX() method from java.sql.ResultSet interface.
>
> Thank you
> Valera
>
>