Re: Patch for handling unknown data types in jdbc driver

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: Patch for handling unknown data types in jdbc driver
Дата
Msg-id 3BBD0A86.8050105@xythos.com
обсуждение исходный текст
Ответ на Patch for handling unknown data types in jdbc driver  ("Dave Cramer" <Dave@micro-automation.net>)
Список pgsql-patches
Dave,

The patch looks fine.

thanks,
--Barry

Dave Cramer wrote:

> Attached is a patch which deals with
>
> select 'id' as xxx from table
>
> The issue is:
>
> When the driver gets a data type which does not map into the SQL.Types
> it attempts to load the object into a java object. Eventually throwing
> an exception indicating that the type "unknown" was not found.
>
> Since the backend defaults "unknown" types to text it was suggested that
> the jdbc driver do the same.
>
> This patch does just that.
>
> I have tested it on the above select statement as well as a small
> program that serializes, and deserializes a class
>
> Dave
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Problem on AIX with current
Следующее
От: Paul A Vixie
Дата:
Сообщение: Re: IPv6 Support for INET/CIDR types.