PreparedStatements with PG specific data types.

From: Johnny Luong <johnny(dot)luong(at)trustcommerce(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: PreparedStatements with PG specific data types.
Date: 2009-06-12 00:44:07
Message-ID: 4A31A4D7.3010800@trustcommerce.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Is there a way to use PreparedStatements for specific data types such as
interval or inet? I have a JDBC application that I'm trying to migrate
from the V2 Protocol which allowed the arbitrary use of setObject() to
the V3 Protocol and if there was Java PG specific way or JDBC 3 way
(preferrable) that someone would describe, it would be appreciated.

Thanks,
Johnny

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoxpNcACgkQnQTBLXttTeVKqgCfZl/987TJTIl1Ls0PX+Sf0lHk
ig8An0ig27RaP/QWnwSW8gaTiI1scKty
=7vow
-----END PGP SIGNATURE-----

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ashish Jain 2009-06-12 06:16:43 Re: Bad value for type BigDecimal : Y
Previous Message Mikko Tiihonen 2009-06-11 16:52:23 Re: Bad value for type BigDecimal : Y