Re: BIGINT <-> java.lang.String auto cast

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pg(at)fastcrypt(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: BIGINT <-> java.lang.String auto cast
Date: 2005-05-27 01:13:41
Message-ID: 42967445.60503@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave Cramer wrote:

> I recall it now, this isn't sufficient for the plethora of conversions
> which have to be made.
>
> Basically what I did was create an internal type for every SQL type in
> org.postgresql.types
>
> and I do one set of instanceof as below to determine which type to
> create, and then
> do a convert based on the sqltype passed in.

Yeah, I was considering something similar, but the current scheme was
sufficiently simple that it didn't seem worth it.

> I'll commit the patch tomorrow

What conversions does your patch add? (can you post the patch?)

-O

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dilan 2005-05-27 01:39:30 Dynamically Out put a image in Jsp
Previous Message Dave Cramer 2005-05-27 01:09:42 Re: BIGINT <-> java.lang.String auto cast