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

RE: [INTERFACES] exception running example.basic

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'FloydS(at)4peakstech(dot)com'" <FloydS(at)4peakstech(dot)com>, pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: RE: [INTERFACES] exception running example.basic
Date: 2000-02-22 07:31:12
Message-ID: (view raw or whole thread)
Lists: pgsql-interfaces
edit the file: postgresql/ and replace (in this order):
	{1} with {0}
	{2} with {1}

That should fix it. That bug was fixed in the following release.


Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: Floyd Shackelford [mailto:FloydS(at)4peakstech(dot)com]
Sent: Monday, February 21, 2000 3:58 PM
To: pgsql-interfaces
Subject: [INTERFACES] exception running example.basic

I have built the postgress jdbc interfaces. When I try to run the
example as


java -Djdbc.drivers=postgresql.Driver example.basic
/a_database a_userid a_password

I get the following error.

PostgreSQL basic test v6.3 rev 1

Connecting to Database URL = jdbc:postgresql://localhost/a_database
Unknown object of type:java.lang.ClassNotFoundException
Exception caught.
java.lang.IllegalArgumentException: Unknown argument
java.lang.IllegalArgumentException: Unknown argument
        at java.text.MessageFormat.format(
        at java.text.MessageFormat.format(
        at java.text.MessageFormat.format(
        at postgresql.util.PSQLException.<init>(
        at postgresql.Driver.connect(
        at java.sql.DriverManager.getConnection(
        at java.sql.DriverManager.getConnection(
        at example.basic.<init>(
        at example.basic.main(

Floyd Shackelford
4 Peaks Technology Group, Inc.
office: +1.888.398.4405
fax: +1.916.404.7125


pgsql-interfaces by date

Next:From: Peter MountDate: 2000-02-22 07:48:10
Subject: RE: [INTERFACES] JDBC - Numeric & Decimal handling in 6.5.3?
Previous:From: Peter MountDate: 2000-02-22 07:26:58
Subject: RE: [INTERFACES] JDBC: getUpdateCount always at least one?

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