pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
(no subject)
1+ messages / 1 participants
[nested] [flat]

* (no subject)
@ 2003-10-15 19:46 aehansen@paycheckadv.com
  0 siblings, 0 replies; 1+ messages in thread

From: aehansen@paycheckadv.com @ 2003-10-15 19:46 UTC (permalink / raw)
  To: pgsql-jdbc

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/



^ permalink  raw  reply  [nested|flat] 1+ messages in thread


only message in thread

Thread overview: 1+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15 19:46  aehansen@paycheckadv.com

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