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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-interfaces by date

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