example, my recommendation is to avoid mapping
> Auditable in Cayenne
>
> as an entity. The easiest alternative is to make Auditable an interface and
> let appropriate
>
> entities implement it.
>
>
>
> Andrus
>
>
>
>
>
>
>
>
>
>
ic Gilbart
Envoyé : lundi 20 juin 2016 21:25
À : 'user@cayenne.apache.org'
Objet : RE: UUID as primary key
Hi all,
After further tests I think the problem is not relative to UUID nor primary
keys but to properties from super classes that seem never persisted.
I've updated t
oject, I don't know if i use it poorly to get such results.
>
>
>
> Any help would be appreciated.
>
>
>
> Regards,
>
> Fred
>
>
>
>
>
> De : Frederic Gilbart
> Envoyé : dimanche 19 juin 2016 21:16
> À : 'user@cayenne.apache.org'
yenne.apache.org'
Objet : UUID as primary key
Hi all,
I'm looking for some information to use java.util.UUID as a «Meaningful Primary
Key » as stated in
https://cayenne.apache.org/docs/3.0/primary-key-generation.html .
I've planned to use a Listener onPreUpdate to init
Hi all,
I'm looking for some information to use java.util.UUID as a as stated in
https://cayenne.apache.org/docs/3.0/primary-key-generation.html .
I've planned to use a Listener onPreUpdate to initialize the value.
Every tries shown an Integer used in my VARCHAR column, and my UUID key unu