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

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

Miroslav Nachev wrote:
> I try to use it but I have the following exception:
>
> java.lang.IllegalArgumentException: Unknown entity: java.util.UUID
> at
> org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:223)
> at psqluuidtest.Main.persist(Main.java:33)
> at psqluuidtest.Main.main(Main..java:25)
>

Surely you want to persist a TestTable1 instance, not the uuid itself.

Kris Jurka

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Miroslav Nachev 2008-12-17 23:00:54 Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys
Previous Message Miroslav Nachev 2008-12-17 22:33:42 Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys