Re: CMP Bean problem - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: CMP Bean problem
Date
Msg-id Pine.LNX.4.33.0312082134380.29060-100000@leary.csoft.net
Whole thread Raw
In response to Re: CMP Bean problem  (TANIDA Yutaka <tanida@sra.co.jp>)
Responses Re: CMP Bean problem
List pgsql-jdbc

On Tue, 9 Dec 2003, TANIDA Yutaka wrote:

> I don't know about CMP and SUN One , but I found Masatoshi
> Satoh(okome@siisise.net) supplies a patch in his site.
>
> http://siisise.net/softlib/postgresql-7.4-jdbc.diff
>

The patch has two changes in it, but unfortunately I can't tell what he's
trying to achieve as the whole site is in Japanese.

The first is incorrect as it breaks retrieving database object information
via DatabaseMetaData calls because it forces all parameters to lowercase.
This makes it impossible to get information on objects with capital
letters in their name.

The second change makes ResultSet.getString() on a boolean column return
"true" or "false" instead of "t" or "f".  This breaks the existing
behavior of getString returning the exact string the server returned and
would probably cause backwards compatibility problems for many people.  I
would be interested to know why this change was necessary.

Kris Jurka


pgsql-jdbc by date:

Previous
From: TANIDA Yutaka
Date:
Subject: Re: CMP Bean problem
Next
From: Mofeed Shahin
Date:
Subject: Multi column foreign keys.