cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lachlan Deck <>
Subject Re: Local Object
Date Sat, 10 Jul 2010 17:38:01 GMT
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

View raw message