I'd guess the error means just what it says. You've got two ObjEntities mapped to a class named TmpAttredit.
Try posting your datamap if you can't locate the problem yourself (but a text search for TmpAttredit on the xml file should find the problem). On 8/20/07, Jens Mayer <[EMAIL PROTECTED]> wrote: > 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 > >
