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

Re: [INTERFACES] java.sql.Types problem

From: Jens Glaser <jens(at)helena(dot)jens(dot)de>
To: Tom Jenkins <TomJenkins(at)zentuit(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] java.sql.Types problem
Date: 1999-09-23 05:07:16
Message-ID: Pine.LNX.4.05.9909230504430.285-100000@helena.jens.de (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi,

On Thu, 23 Sep 1999, Tom Jenkins wrote:
> I'm getting a java.sql.Types value of 16 for varchar field instead of the 12 
> I expected.

which function are you using? getColumnDisplaySize()?

If so, please try the latest JDBC revision. It should return you the
correct values for varchar fields.

> Where can I get the source for the jdbc driver; I seem to only have the 
> class files.

>From the CVS repository. Have a look at the postgresql
website.

regards,

-- 
Jens Glaser     Am Holderstrauch 13, 36041 Fulda, 0661/9429507    jens(at)jens(dot)de


In response to

pgsql-interfaces by date

Next:From: Adam HaberlachDate: 1999-09-23 05:46:53
Subject: unsubscribe
Previous:From: Nuchanach KlinjunDate: 1999-09-23 02:35:04
Subject: Re: [INTERFACES] ODBC-Interfaces - connection options ? Error !

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