Re: ObjectIdQuery Question

From: Andrew Lindesay (ap..indesay.co.nz)
Date: Sun Feb 07 2010 - 06:05:28 EST

  • Next message: Marek Šab: "SQLResultMapping missing in RC2?"

    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



    This archive was generated by hypermail 2.0.0 : Sun Feb 07 2010 - 06:06:06 EST