example.datestyle on 7.4?

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: example.datestyle on 7.4?
Date: 2003-11-14 18:03:30
Message-ID: 7570000.1068833010@lerlaptop-red.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2003-11-15 01:27:20 Re: example.datestyle on 7.4?
Previous Message Jan-Andre le Roux 2003-11-14 13:14:05 Re: ResultSetMetaData Implementation Patch