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
Hi Frederic,
Looking at the GitHub 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
> On Jun 20, 2016, at 3:24 PM, Frederic Gilbart wrote:
>
> Hi all
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 the Tutorial code to add a new class
org.apache.cayenne.tutorial.persistent.Auditable with has some basic
properties, then u