Skip site navigation (1) Skip section navigation (2)

Re: Re: Why fields order is wrong ?

From: Joe Shevland <shevlandj(at)kpi(dot)com(dot)au>
To: Paolo Sommaruga <psomma(at)garda-access(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Re: Why fields order is wrong ?
Date: 2000-04-12 00:42:41
Message-ID: 38F3C681.B3738FE3@kpi.com.au (view raw or flat)
Thread:
Lists: pgsql-interfaces
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]

In response to

pgsql-interfaces by date

Next:From: brianbDate: 2000-04-12 03:17:34
Subject: ODBC driver installation trouble
Previous:From: Henk van LingenDate: 2000-04-11 23:21:41
Subject: Re: ODBC and crypted passwords

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group