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

Reply via email to