Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id E4157633927 for ; Thu, 11 Jun 2009 21:53:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 01828-03 for ; Thu, 11 Jun 2009 21:52:56 -0300 (ADT) X-Greylist: delayed 00:08:52.691564 by SQLgrey-1.7.6 Received: from irvnca2-mx-01.trustcommerce.com (mx1.sna.trustcommerce.com [207.38.46.53]) by mail.postgresql.org (Postfix) with ESMTP id 2298862DBE7 for ; Thu, 11 Jun 2009 21:53:01 -0300 (ADT) Received: from [192.168.1.108] (unknown [65.91.38.42]) by irvnca2-mx-01.trustcommerce.com (Postfix) with ESMTP id 320A140173 for ; Thu, 11 Jun 2009 17:44:07 -0700 (PDT) Message-ID: <4A31A4D7.3010800@trustcommerce.com> Date: Thu, 11 Jun 2009 17:44:07 -0700 From: Johnny Luong Organization: TrustCommerce User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: PreparedStatements with PG specific data types. X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200906/56 X-Sequence-Number: 19720 -----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-----