cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <blackn...@gmail.com>
Subject Re: Cayenne object storage / memory usage
Date Fri, 07 Jul 2017 10:56:46 GMT
On Fri, Jul 7, 2017 at 1:54 AM, Andrus Adamchik <andrus@objectstyle.org>
wrote:

> 2. A user code that relies on the Map structure to store unmapped
> properties ("CayenneDataObject.writePropertyDirectly" will not check the
> key validity).
>

I'd suggest people who need to store unmapped properties create their own
separate map/attributes to store them in.  If they choose to store unmapped
properties in a map, they can easily have their own custom superclass that
makes a map available to their objects.

mrg

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message