cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Reich <markus.re...@markusreich.at>
Subject Detached Cayenne Objects
Date Thu, 20 Apr 2017 11:12:21 GMT
Hi,

I have a very special problem :-/
We want to use a cayenne object as detached object, for a simple object
this works fine, as the attribute values are hosted in a value map, but we
need a context when we want to use  the relations too :-/

What would be the best approach?
At the moment we create the object in a second context and copy the
attributes / relations with reflection (deep copy) as we have a lot of this
objects, creating context is very expensive and we want to reduce costs :-)

br
Markus

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