X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A0EEDD1B502 for ; Wed, 15 Oct 2003 19:47:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 19535-09 for ; Wed, 15 Oct 2003 16:47:15 -0300 (ADT) Received: from lemur.chequesoft.com (lemur.investmentserv.net [216.229.19.3]) by svr1.postgresql.org (Postfix) with ESMTP id A5834D1B4FE for ; Wed, 15 Oct 2003 16:47:08 -0300 (ADT) Received: from lemur.chequesoft.com (localhost.chequesoft.com [127.0.0.1]) by lemur.chequesoft.com (8.12.8p1/8.12.8) with ESMTP id h9FJkhgn074310 for ; Wed, 15 Oct 2003 14:46:43 -0500 (CDT) (envelope-from aehansen@paycheckadv.com) Received: (from nobody@localhost) by lemur.chequesoft.com (8.12.8p1/8.12.8/Submit) id h9FJkhY2074309 for pgsql-jdbc@postgresql.org; Wed, 15 Oct 2003 14:46:43 -0500 (CDT) X-Authentication-Warning: lemur.chequesoft.com: nobody set sender to aehansen@paycheckadv.com using -f Received: from dns2.investmentserv.net (dns2.investmentserv.net [216.229.19.254]) by webmail.paycheckadv.com (IMP) with HTTP for ; Wed, 15 Oct 2003 14:46:43 -0500 Message-ID: <1066247203.3f8da423b9127@webmail.paycheckadv.com> X-Priority: 3 (Normal) Date: Wed, 15 Oct 2003 14:46:43 -0500 From: aehansen@paycheckadv.com To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: 216.229.19.254 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/79 X-Sequence-Number: 8509 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/