Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group