cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Lindesay <...@lindesay.co.nz>
Subject Re: ObjectIdQuery Question
Date Sun, 07 Feb 2010 11:05:28 GMT
Hello Andrey;

That's great thanks for the help; it was simply that!

cheers.

> DataContext should be created via DataContext.createDataContext() if you're
> using shared configuration (cayenne.xml in classpath). Although there could
> be changes in 3.1 shapshot - I think Andrus iы reworking something there.
> Also the simplest way to get DataObject for PK is Cayenne.objectForPk(...)
> in 3.1 and DataObjectUtils.objectForPk(...) in 3.0

___
Andrew Lindesay
www.lindesay.co.nz


Mime
View raw message