lookup-failure

From: Jens Mayer (jens.mayer..mx.de)
Date: Mon Aug 20 2007 - 13:56:39 EDT

  • Next message: Jens Mayer: "Problem with self-join-relationship"

    Hi,

    I'm wondering about an error message:
    "Can't perform lookup. There is more than one ObjEntity mapped to class
    TmpAttredit"

    This is the code (as simple as possible):

    DataContext dataCtx = ....
    SelectQuery query = new SelectQuery(TmpAttredit.class);
    List result = dataCtx.performQuery(query);

    The Mapping in the Modeler seems to be ok - nothing unusual here. The
    exception is only firing for 2 of my 8 ObjEntity-classes.

    what does this message means?

    I'm using cayenne 2.0.2 with jdk 1.5.0_10 and Oracle 10.2.0.3.0

    Thanks in advance

    Jens



    This archive was generated by hypermail 2.0.0 : Mon Aug 20 2007 - 13:57:12 EDT