Re: UUID as primary key

2016-06-20 Thread Andrus Adamchik
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

RE: UUID as primary key

2016-06-20 Thread Frederic Gilbart
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