Re: Registering existing dataObjects

From: Michael Gentry (mgentr..asslight.net)
Date: Thu Dec 31 2009 - 10:03:28 EST

  • Next message: Marek Šab: "Re: Registering existing dataObjects"

    On Thu, Dec 31, 2009 at 9:31 AM, Marek Šabo <msab..uk.cvut.cz> wrote:
    > Hi,
    >
    > I would like to have a question, does cayenne have some mechanism for
    > registering already existing objects (e.g. beans/dataobjects extended from
    > _auto classes) without the need of creating new object and then passing all
    > parameters from bean to that dataobject (e.g datacontext.save(DataObject)).
    > I saw a method objectsfromdatarows so I was thinking about that similarity.

    datacontext.save(DataObject) seems a lot like Hibernate and Cayenne
    doesn't work the same way as Hibernate. I'm not quite sure what you
    are trying to accomplish there.

    > And has anybody tried that password rotation mechanism? It isn't working for
    > me (can't establish database connection), is there something that needs to
    > be done besides setting it in datanode xml?

    I assume you are talking about the rot13/47 methods? They've worked
    for me in the past. Which version of Cayenne are you using?

    mrg



    This archive was generated by hypermail 2.0.0 : Thu Dec 31 2009 - 10:04:26 EST