On 11/07/2010, at 3:21 AM, Michael Gentry wrote:

> Well, if you want it in CayenneDataObject, you'd have to pass the
> target ObjectContext to the method, but that might be a pretty good
> place for it, too.

Silly me (for replying when tired), thanks. That was what I meant to say.
public <T extends Persistent> T localObject(ObjectContext oc);
i.e., ask the object for it rather than some utility class.

with regards,
--

Lachlan Deck

Reply via email to