Re: [JDBC] Re: [INTERFACES] Trouble with JDBC2 ResultSet.getDate()

2001-03-21 Thread Juhan-Peep Ernits
On Tue, 20 Mar 2001, Barry Lind wrote: > Actually it was the changes in version 1.21 on 2/13 that broke this. > The cvs log for that change includes the following comment: > - Removed need for SimpleDateFormat in ResultSet.getDate() improving > performance. Yes, of course. My mistake. > M

Re: [JDBC] Re: [INTERFACES] Trouble with JDBC2 ResultSet.getDate()

2001-03-21 Thread Peter T Mount
Quoting Barry Lind <[EMAIL PROTECTED]>: > Actually it was the changes in version 1.21 on 2/13 that broke this. > The cvs log for that change includes the following comment: > - Removed need for SimpleDateFormat in ResultSet.getDate() improving > performance. > > My guess is the the code as w

Re: [JDBC] pg703: support for Large objects via JDBC PreparedStatement.setBi naryStream()

2001-03-21 Thread Peter T Mount
Quoting [EMAIL PROTECTED]: > > I do not understand when people say that pg7.03 is out and some are > talking > about 7.1. What is the difference anyway? As far as I know 7.03 is the > latest. What about 7.1? I am new to postgreSQL. Can someone please > clarify me? The latest released version is

[JDBC] patches for jdbc1 (fwd)

2001-03-21 Thread Peter Eisentraut
Peter M., can you examine this patch? -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ Index: contrib/retep/build.xml === RCS file: /home/projects/pgsql/cvsroot/pgsql/contrib/retep/build.xml,v retrieving revi

[JDBC] I can't connect

2001-03-21 Thread Bart
Hi, I installed debian 2.2r2 with _all_ the postgres-packages, I created a database and via psql I can do whatever I want with the DB. Now I'm trying to make a connection via a Java-program. I downloaded the jdbc-6.5-1.2.jar file and renamed it to jdbc.jar and moved it to ~/jdk1.3/lib, set t

Re: [JDBC] I can't connect

2001-03-21 Thread Dax Duskin
Are you running postmaster with the -i option? Bart <[EMAIL PROTECTED]> on 03/21/2001 02:00:45 PM To: [EMAIL PROTECTED] cc:(bcc: Dax Duskin/Evanston/ZSAssociates) Subject: [JDBC] I can't connect Hi, I installed debian 2.2r2 with _all_ the postgres-packages, I created a database

Re: [JDBC] I can't connect

2001-03-21 Thread Bob Kline
Bart: Try setting CLASSPATH to the path for the jar itself, not the directory in which you placed it. On Wed, 21 Mar 2001, Dax Duskin wrote: > Are you running postmaster with the -i option? > > Bart <[EMAIL PROTECTED]> on 03/21/2001 02:00:45 PM > Subject: [JDBC] I can't connect > > I installe

Re: [JDBC] I can't connect

2001-03-21 Thread jlemcke
I think your url String should be "jdbc:postgresql:testing" and your Class.forName should be either "org.postgresql.Driver" or "postgresql.Driver" John L. Quoting Bart <[EMAIL PROTECTED]>: > Hi, > > I installed debian 2.2r2 with _all_ the postgres-packages, I created a > database and via p

Re: [JDBC] I can't connect

2001-03-21 Thread Bart
It works. Thanks everyone!!! Bart ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl

[JDBC] How to set numeric in PreparedStatement

2001-03-21 Thread Aaron Brashears
I want to set a numeric in a prepared statement, but I'm getting a nasty exception for a simple query. The code is simple, and all I want to do is query for a numeric type. Here's the simplified data model: create table account ( id varchar(3) primary key, balance numeric(10,2)); And a co