From: aehansen@paycheckadv.com
To: pgsql-jdbc@postgresql.org
Date: Wed, 15 Oct 2003 14:46:43 -0500
Message-ID: <1066247203.3f8da423b9127@webmail.paycheckadv.com> (raw)
I found out that the ResultSetMetaData isNullable() method is not
supported by the postgres jdbc driver.
I couldn't find a work around, until I started messing with phpPgAdmin.
Apparently the php driver has no problems at all figuring out which columns are
nullable.
Currently, I've been copy, pasting and vim massaging phpPgAdmin pages
into a properties file that tracks which fields are nullable. This
is... sub-optimal.
My question is this. If the call is available in the php driver, why isn't it
available in the jdbc driver? The only relevant post I could find on
postgresql.org (http://archives.postgresql.org/pgsql-jdbc/2003-05/msg00007.php)
says that it won't be available until after 7.4 due to an inflexibility in the
FB/BE protocol. Why doesn't the php driver suffer from the same problems?
Finally, and most importantly (to me that is), is there a better work-around for
my problem? Is it possible to use a runtime.exec call to the php binary in some
weird, unportable, masochistic way? I'd be willing to try anything at this point.
Thanks for your time,
Andrew
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: aehansen@paycheckadv.com
Subject: Re:
In-Reply-To: <1066247203.3f8da423b9127@webmail.paycheckadv.com>
References: <1066247203.3f8da423b9127@webmail.paycheckadv.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox