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

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: BIGINT <-> java.lang.String auto cast
Дата
Msg-id 42967445.60503@opencloud.com
обсуждение исходный текст
Ответ на Re: BIGINT <-> java.lang.String auto cast  (Dave Cramer <pg@fastcrypt.com>)
Список 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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: BIGINT <-> java.lang.String auto cast
Следующее
От: "Dilan"
Дата:
Сообщение: Dynamically Out put a image in Jsp