Hi Andrus,

On 1 Sep 2024, at 23:53, Andrus Adamchik <aadamc...@gmail.com> wrote:

> So partial entities are essentially ORM model "mixins". A neat idea, but 
> unfortunately not supported by Cayenne. So you'd need to recreate the 
> contents of each partial entity insider every concrete entity.

Let me ask a more general question then. How do Cayenne users achieve code 
reuse (or even entity/model reuse)? Presumably people aren't re-writing their 
"User" entity, for example, from scratch for every application. Is there any 
comparable approach for "reuse but customise"?


-- 
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/

Reply via email to