Bug in latest cvs --No suitable DataNode to handle query with root: class [dataobject class]

From: Mike Kienenberger (mkienen..laska.net)
Date: Thu Feb 12 2004 - 16:29:17 EST

  • Next message: Andrus Adamchik: "Re: Bug in latest cvs --No suitable DataNode to handle query with root: class [dataobject class]"

    I just updated cayenne from cvs in order to generate up-to-date optimistic
    locking patches, and I now get this error:

    Error: org.objectstyle.cayenne.CayenneRuntimeException: [v.1.1-dev February
    12 2004] No suitable DataNode to handle query with root: class
    com.gvea.cayenne.ebpp.entity.Localization
            at
    org.objectstyle.cayenne.access.DataDomain.performQueries(DataDomain.java:640)
            at
    org.objectstyle.cayenne.access.DataContext.performQueries(DataContext.java:1308)
            at
    org.objectstyle.cayenne.access.Transaction.performQueries(Transaction.java:176)
            at
    org.objectstyle.cayenne.access.DataContext.performQueries(DataContext.java:1231)
            at
    org.objectstyle.cayenne.access.DataContext.performQuery(DataContext.java:1170)
            at com.gvea.cayenne.GenericEntity.getAllObjects(GenericEntity.java:105)

    which is simply:

                    return aDataContext.performQuery(new SelectQuery(aClass));

    This error does not occur if I regress back to my older cayenne lib file.



    This archive was generated by hypermail 2.0.0 : Thu Feb 12 2004 - 16:29:32 EST