For a very quick reply, I would recommend using the Java 8 streams API .filter, etc instead of Property for doing things with POJOs. This should perform better and be more debuggable, and be only slightly more verbose.
On Thu, Nov 14, 2019 at 4:50 PM Lon Varscsak <[email protected]> wrote: > Hey all, > > I use Property-type classes for all sorts of things, usually for Cayenne > related activities...but sometimes they're really useful on POJOs too. The > new Property related classes (like EntityProperty) require the class to be > a subclass of Persistent. I can't see where this is actually > relevant...but I might be missing something. Any reason we couldn't remove > this restriction? > > Thanks, > > Lon > > P.S. -- Still wishing these also implemented Serializable :P >
