Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys
Date
Msg-id 49498294.6090900@ejurka.com
Whole thread Raw
In response to BUG #4586: Supporting of Binary instead Bytea for Primary Keys  ("Miroslav Nachev" <miro@space-comm.com>)
Responses Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys
List 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

pgsql-bugs by date:

Previous
From: Kris Jurka
Date:
Subject: Re: BUG #4586: Supporting of Binary instead Bytea for Primary Keys
Next
From: Богданов В.
Date:
Subject: Page header error on PGSQL 7.4.5