Re: EOGenericRecord

Andrus Adamchik <[email protected]> Tue, 7 Oct 2025 19:13:08 -0400
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
--Apple-Mail=_A6B68DD2-28C3-43B1-8E0B-D1430BC08715
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

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-objec=
tcontext/#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.=20

Andrus

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


--Apple-Mail=_A6B68DD2-28C3-43B1-8E0B-D1430BC08715--