Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys

From: Miroslav Nachev <miro(at)space-comm(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys
Date: 2008-12-17 22:30:25
Message-ID: 49497D81.8020000@space-comm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

This is very good. Can you give me some idea how to use that feature
together with Hibernate JPA? Is there some special annotation or ?

Regards,
Miro.

Kris Jurka wrote:
>
>
> On Wed, 17 Dec 2008, Miroslav Nachev wrote:
>
>> Thank you very much. How can I map PostgreSQL UUID to JPA Hibernate with
>> annotations? Serializable or BigInteger or byte[] or java.util.UUID?
>>
>
> The server uuid type is already mapped to java.util.UUID in recent
> JDBC driver versions:
>
> http://archives.postgresql.org/pgsql-jdbc/2008-09/msg00102.php
>
> Kris Jurka
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Miroslav Nachev 2008-12-17 22:33:42 Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys
Previous Message Kris Jurka 2008-12-17 19:32:31 Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys