[JDBC] Bug Report

2001-10-15 Thread Danny Zhou

I have a timestamp field called created.

I have a result set called rs. When I do rs.getDate(created), I get a 
numberformat exception. I did not get this exception using driver 7.0. 
After I upgraded to 7.1, I get this exception.


Xu Zhou (Danny)
Tyco Fire  Security Services
4131 Northgate Blvd
Sacramento, CA 95834
USA
Phone:  +1 916-569-3145
Fax:+1 916-565-2006
E-mail: [EMAIL PROTECTED]


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



[JDBC] Fw: JDBC Bug Report

2001-09-14 Thread Peter T Mount

Hi guys, this has been sent direct to me. Peter

---

Hi,
I have a table with those column name position and local and I  use the 
JDBC for PostgreSQL as you provided.  But when I run the my Java Application.  
I t prompts up SQLException: parser: parse error at or 
near position(local)   
at org.postgresql.Connection.ExecSQL(Connection.java:393)
   at org.postgresql.jdbc2.Statement.execute(Statement.java:273)
   at org.postgresql.jdbc2.Statement.executeUpdate(Statement.java:73)
   at org.postgresql.jdbc2.PreparedStatement.executeUpdate
(PreparedStatement.java:126)
 
I think this is a bug since as I just change the field name in the table and 
recompile my application and can run with no error.
 
Best regards,
Leo
email: [EMAIL PROTECTED]

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [JDBC] Bug-report (was: JDBC driver in pgsql 7.1 build problem)

2001-05-04 Thread Marko Kreen

On Thu, May 03, 2001 at 11:48:34PM +0200, Rolf Schillinger wrote:
 Hi again,
 it`s now offical, I found a bug in JDBC driver in pgsql 7.1 ;)

:)

 I had the following problems:
 /usr/local/jakarta-ant-1.3/bin//ant -buildfile ../../../build.xml

...

 expected
 [javac] return ${major};

...

 when using 
 JDK:
 java version 1.3.0
 Java(TM) 2 Runtime Environment, Standard Edition (build
 Blackdown-1.3.0-RC1)
 Java HotSpot(TM) Client VM (build Blackdown-1.3.0-RC1, mixed mode)
 
 Ant:
 Ant version 1.3 compiled on March 2 2001
 
 Postgresql:
 As stated above: 7.1

To narrow the problem...

Has anybody had success compiling unpatched 7.1 JDBC driver
with JDK1.3 and Ant 1.2/1.3?  If not, could this patch be
applied?  Ant 1.4 betas seem to be ok.

-- 
marko


---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



Re: [JDBC] Bug-report (was: JDBC driver in pgsql 7.1 build problem)

2001-05-04 Thread Ned Wolpert

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Date: Fri, 4 May 2001 19:26:48 +0200
 From: Marko Kreen [EMAIL PROTECTED]
 
 Has anybody had success compiling unpatched 7.1 JDBC driver
 with JDK1.3 and Ant 1.2/1.3?  If not, could this patch be
 applied?  Ant 1.4 betas seem to be ok.

Yes.  I could compile 7.1 with ant 1.3 without a problem.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Public key at http://www.keyserver.net

iD8DBQE68vCUiysnOdCML0URAhaFAJwPk4muzSP6c5b+HCfZL/3N+KBv/ACdGke9
eFvhpOC1sWEeXmw9ozLfCR8=
=rg36
-END PGP SIGNATURE-

-- 
Virtually, 
Ned Wolpert [EMAIL PROTECTED]

D08C2F45:  28E7 56CB 58AC C622 5A51  3C42 8B2B 2739 D08C 2F45 


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [JDBC] Bug-report (was: JDBC driver in pgsql 7.1 build problem)

2001-05-04 Thread Marko Kreen

On Fri, May 04, 2001 at 09:16:38PM +0300, Ned Wolpert wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
  Date: Fri, 4 May 2001 19:26:48 +0200
  From: Marko Kreen [EMAIL PROTECTED]
  
  Has anybody had success compiling unpatched 7.1 JDBC driver
  with JDK1.3 and Ant 1.2/1.3?  If not, could this patch be
  applied?  Ant 1.4 betas seem to be ok.
 
 Yes.  I could compile 7.1 with ant 1.3 without a problem.

And Sun's JDK 1.3?

-- 
marko


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html