Re: UUID datatype

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: UUID datatype
Дата
Msg-id 19953.1203178102@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: UUID datatype  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Kris Jurka <books@ejurka.com> writes:
> There aren't any exact plans, but I was thinking we would map the pg uuid
> type onto the java.util.UUID type.  The only problem with that
> is java.util.UUID only appeared in the 1.5 JDK, so we'd only be
> able to support it for some driver versions.  Do people think it's better
> to always map it to a PGuuid class?

Given that UUID is only in the latest PG version, it doesn't seem
unreasonable to support it only in newer JDKs too.  Five years down
the road, not having mapped it to java.util.UUID will definitely
seem to have been a mistake, no?

            regards, tom lane

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

Предыдущее
От: ntr
Дата:
Сообщение: Re: UUID datatype
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: UUID datatype