pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Shraibman <jks@selectacast.net>
To: Gunnar R|nning <gunnar@candleweb.no>
Cc: Janossy Gergely <gjano@freemail.hu>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: jdbc driver: Why it isn't jdbcCompliant?
Date: Mon, 29 May 2000 14:50:50 -0400
Message-ID: <3932BC0A.482A765B@selectacast.net> (raw)
References: <00052701341103.02227@azul>
	<x6snv3ot1g.fsf@thor.candleweb.no>

Gunnar R|nning wrote:
> 
> Janossy Gergely <gjano@freemail.hu> 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.  
   *
   * <p>For PostgreSQL, this is not yet possible, as we are not SQL92
   * compliant (yet).
   */
  public boolean jdbcCompliant()
  {
    return false;
  }



view thread (7+ messages)  latest in thread

Message-ID: <3932BC0A.482A765B@selectacast.net>
Permalink:  ../3932BC0A.482A765B@selectacast.net/
Also on:    postgresql.org/message-id/3932BC0A.482A765B@selectacast.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jks@selectacast.net, gunnar@candleweb.no, gjano@freemail.hu
  Subject: Re: jdbc driver: Why it isn't jdbcCompliant?
  In-Reply-To: <3932BC0A.482A765B@selectacast.net>

* 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