pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Shevland <shevlandj@kpi.com.au>
To: Paolo Sommaruga <psomma@garda-access.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Re: Why fields order is wrong ?
Date: Wed, 12 Apr 2000 10:42:41 +1000
Message-ID: <38F3C681.B3738FE3@kpi.com.au> (raw)
References: <0FSU00IBMVZWTF@porquerolles.garda-access.com>

In short, a statement like:

INSERT INTO Vehicles ( RegID, Owner ) VALUES ( 'DA1111', 'Bill' )

works from the psql CLI, but not through JDBC using PostgreSQL
7.0 beta 3 and prepared statements. Does this look like a
version conflict with the JDBC drivers (is it worth compiling
the ones that come with the beta again, I *think* they may
still be using the 6.5.3/Java2 drivers.

Cheers,
Joe

Paolo Sommaruga wrote:
> 
> ------------- Begin Forwarded Message -------------
> 
[snipped]
> > I have verified that the Postgres 7.0 beta3 works good If one insert manually
> in
> > psql the syntax which EJBoss calls
> >
> > [sql] executing statement  INSERT INTO Books ( title, discount, authors,
> price,
> > code )
> >         VALUES  (  ? ,  ? ,  ? ,  ? ,  ?  )
> >
> > but with EJBoss there is the Exception
> >
> > [Exception]
> > java.lang.NullPointerException
> >         at postgresql.util.PSQLException.translate(PSQLException.java:76)
> >         at postgresql.util.PSQLException.<init>(PSQLException.java:45)
> >         at postgresql.fastpath.Fastpath.fastpath(Compiled Code)
> > ....
> >
> >                         Paolo Sommaruga
[snipped]



view thread (2+ messages)

Message-ID: <38F3C681.B3738FE3@kpi.com.au>
Permalink:  ../38F3C681.B3738FE3@kpi.com.au/
Also on:    postgresql.org/message-id/38F3C681.B3738FE3@kpi.com.au

 · 

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: shevlandj@kpi.com.au, psomma@garda-access.com
  Subject: Re: Re: Why fields order is wrong ?
  In-Reply-To: <38F3C681.B3738FE3@kpi.com.au>

* 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