Michael Gentry wrote:
On Thu, Dec 31, 2009 at 9:31 AM, Marek Šabo <[email protected]> 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.
Right, Hibernate uses session.save, but when going through datacontext
api it occured to me that it can come handy, it' not that big deal.
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
I located the problem, sure for 99%. I used v3b1 modeller to reingeneer
db and in mave ni have 2.0.4 dependency. I need to get 3b1
cayenne-server/client. Anyway what is biggest difference between cayenne
server and client, i suppose client could do for simple database handling.
--
Marek Šabo
Chief Server Manager
Club SU CVUT Buben
Bubenečská Kolej
Terronská 28, Prague 16000
XMPP: [email protected]