This was called CayenneDataObject in 4.x and renamed to GenericPersistentObject 
in 5.0:

https://cayenne.apache.org/docs/5.0/cayenne-guide/persistent-objects-objectcontext/#generic-persistent-objects

The API around generic entities is a bit more kludgy compared to class-based 
entities, but it still supports full functionality of a persistent object. 

Andrus

> On Oct 7, 2025, at 7:07 PM, Ricardo Parada <[email protected]> wrote:
> 
> Hello everyone,
> 
> I hope you are doing great. I have an easy question. 
> 
> What is the equivalent of EOGenericRecord in Cayenne 5.0-M1. 
> 
> I have some entities that were never mapped to a specific Java class and 
> EOGenericRecord was used instead. 
> 
> Thanks in advance,
> Ricardo Parada

Reply via email to