example.datestyle on 7.4? - Mailing list pgsql-jdbc

From Larry Rosenman
Subject example.datestyle on 7.4?
Date
Msg-id 7570000.1068833010@lerlaptop-red.iadfw.net
Whole thread Raw
Responses Re: example.datestyle on 7.4?  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
I'm new to jdbc, so please be gentle....

I'm playing with a Beta version of Java 1.4.2 on UnixWare, and was playing
with the examples/ directory.  Running the datestyle test:

$ java example.datestyle jdbc:postgresql:ler <id> <pw>
PostgreSQL datestyle test v6.3 rev 1

Connecting to Database URL = jdbc:postgresql:ler
Connected...Now creating a statement

Running tests:
Test 0 - postgres,europeanException caught.
org.postgresql.util.PSQLException: A result was returned when none was
expected.
org.postgresql.util.PSQLException: A result was returned when none was
expected.
        at
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
ement.java:273)
        at
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
ement.java:257)
        at example.datestyle.doexample(datestyle.java:125)
        at example.datestyle.<init>(datestyle.java:53)
        at example.datestyle.main(datestyle.java:178)
$

Does this example need mods for 7.4?

LER

--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Attachment

pgsql-jdbc by date:

Previous
From: Jan-Andre le Roux
Date:
Subject: Re: ResultSetMetaData Implementation Patch
Next
From: Kris Jurka
Date:
Subject: Re: example.datestyle on 7.4?