cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gilbertoca <>
Subject Re: Table-per-class inheritance in Cayenne?
Date Thu, 01 Dec 2011 14:00:17 GMT
Hi jo,

Durchholz, Joachim wrote
> On , I see this
> statement:
> "As of this writing Cayenne does not support horizontal inheritance. It
> may in the future."
> Well, guess what, the first instance where I absolutely need inheritance
> does require horizontal modeling. Two legacy tables happen to have a very
> similar column structure and server very similar purposes, and since the
> processing is complicated and accesses many fields of each record, having
> a common superclass wired up would really simplify a lot of code.
> So the question is: Is there any realistic hope that this will be done
> soon?
This issue is old[1]. Taking the Andrus' words "here you ran across
something on the edges of Cayenne". I think some guys give up on  Apache
Cayenne when they find it can't manage inheritance completely, so for some
projects this is limitation (After all it is an ORM, isn't it?[2]). 
I've tried to introduce Cayenne in my work[3], but that limitation was the
main reason it wasn't choose. 
So we are using JPA2 (eclipselink) in our projects.




View this message in context:
Sent from the Cayenne - User mailing list archive at

View raw message