objectFromDataRow(String, DataRow) exist not in cayenne-1.2

From: Nikolai Raitsev (nikolai.raitse..mail.com)
Date: Thu Aug 03 2006 - 07:57:23 EDT

  • Next message: Mike Kienenberger: "Re: objectFromDataRow(String, DataRow) exist not in cayenne-1.2"

    Hello

    This method:

    DataContext.objectFromDataRow(String, DataRow) exist not in cayenne-1.2 (is
    however described here http://cwiki.apache.org/CAYDOC/data-rows.html
    and in local User-Guide from download package cayenne-1.2)

    it exists a method objectFromDataRow(Class, DataRow, boolean), but i have a
    problem with it:

    dataObjectInt = dataContext.objectFromDataRow( MyClass.class, (DataRow) row,
    true);

    the error message is (from eclipse 3.2):

    "The method objectFromDataRow(Class, DataRow, boolean) in the type
    DataContext is not applicable for the arguments (Class, DataRow, boolean)"

    What is that???

    need help

    Nikolai



    This archive was generated by hypermail 2.0.0 : Thu Aug 03 2006 - 07:57:49 EDT