RE: [PATCH] setTimestamp(int, Timestamp) fails on null timestamp

From: "Dave Cramer" <dave(at)fastcrypt(dot)com>
To: "'Dejan Vucinic'" <hotdejan(at)hotmail(dot)com>, <Dave(at)micro-automation(dot)net>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: RE: [PATCH] setTimestamp(int, Timestamp) fails on null timestamp
Date: 2001-07-11 19:24:34
Message-ID: 000001c10a3f$1e30b310$0201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dejan,

Yes you are correct, I will submit a patch shortly.

Dave

-----Original Message-----
From: Dejan Vucinic [mailto:hotdejan(at)hotmail(dot)com]
Sent: July 11, 2001 7:20 PM
To: Dave(at)micro-automation(dot)net; pgsql-jdbc(at)postgresql(dot)org
Subject: RE: [JDBC] [PATCH] setTimestamp(int, Timestamp) fails on null
timestamp

Dave,

>This has already been done in cvs, please get the binaries from
>http://jdbc.fastcrypt.com

I just downloaded jdbc7.1-1.3.jar and I'm still seeing the same
problem:

java.lang.NullPointerException
at
org.postgresql.jdbc2.PreparedStatement.setTimestamp(PreparedStatement.ja
va:381)

My decompiler shows essentially the same code as the one in the 7.1.2
bundle (I didn't set up CVS yet, Windows-bound, more trouble than it's
worth, etc. :).

Thanks,

--dv

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2001-07-11 19:38:55 Re: can't write a BLOB, 7.1.2
Previous Message Dejan Vucinic 2001-07-11 19:19:31 RE: [PATCH] setTimestamp(int, Timestamp) fails on null timestamp