Re: Local Object

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Sat Jul 10 2010 - 17:38:01 UTC

  • Next message: Michael Gentry: "SQL Logging in 3.0"

    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



    This archive was generated by hypermail 2.0.0 : Sat Jul 10 2010 - 17:38:40 UTC