Received: from p1.selectacast.net (IDENT:root@p1.selectacast.net [206.41.1.251]) by hub.org (8.9.3/8.9.3) with ESMTP id OAA48779 for ; Mon, 29 May 2000 14:50:57 -0400 (EDT) (envelope-from jks@selectacast.net) Received: from selectacast.net (IDENT:jks@d1 [209.219.91.66]) by p1.selectacast.net (8.9.3/8.9.3) with ESMTP id OAA08593; Mon, 29 May 2000 14:50:50 -0400 Message-ID: <3932BC0A.482A765B@selectacast.net> Date: Mon, 29 May 2000 14:50:50 -0400 From: Joseph Shraibman Organization: Xtenit X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i686) X-Accept-Language: en MIME-Version: 1.0 To: Gunnar R|nning CC: Janossy Gergely , pgsql-interfaces@postgresql.org Subject: Re: jdbc driver: Why it isn't jdbcCompliant? References: <00052701341103.02227@azul> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200005/85 Gunnar R|nning wrote: > > Janossy Gergely writes: > > > Hi! > > > > I'm using Sun JDK 1.2.2 and tried to use the pgsql interface with postgresql > > 6.x and 7.0 as well. I couldn't use any of the interfaces because > > the method Driver.jdbcCompliant() is always false. Even with mysql driver. > > Hi Janossy, > > I guess this only means that the driver doesn't implement all the > interfaces according to the JDBC specification. But it works fine for most > applications as long you not are depending on esoteric(or special) > features. In fact I'm very satisfied with it for an JDBC based web application > I ported this week to PostgreSQL. I'm also running Sun JDK 1.2.2 as you do. > > regards, > Gunnar From the Driver source code: /** * Report whether the driver is a genuine JDBC compliant driver. A * driver may only report "true" here if it passes the JDBC compliance * tests, otherwise it is required to return false. JDBC compliance * requires full support for the JDBC API and full support for SQL 92 * Entry Level. * *

For PostgreSQL, this is not yet possible, as we are not SQL92 * compliant (yet). */ public boolean jdbcCompliant() { return false; }