Hi, I'm using click 1.4 with cayenne 2.04.
The whole problem is this: when i begun working with click an cayenne, i installed/copy the libraries manually, and used cayenne 3.0. Latter on, i wanted to use the standard click 1.4 pack (with cayenne 2.04 included), but i was forced to keep cayenne 3.0 libraries and cayenne.xml due to regression problems. Actually i would like to use a fresh click install because logs and the automatic restart of sessions, aren't working as expected. The only way seems to move to cayenne 2.04, or solve manually my worst problem: "I have to restart twice the server on every code modification because unavailability of data context in session restoring". Thank you for your time Hans On Mon, 5 May 2008 11:34:34 +0300, Andrus Adamchik wrote > Umm, sorry you already said that you don't have doubly mapped class... > So what environment are you using for deployment? I am wondering if > there is some special ClassLoader setup involved. > > Andrus > > On May 5, 2008, at 11:28 AM, Andrus Adamchik wrote: > > Hi Hans, > > > > This may be a genuine error (i.e. you do have two entities that are > > mapped to the same Java class). Although the fact that it goes away > > in 3.0 makes me wonder if there is a bug in 2.0.4 EntityResolver. In > > 3.0 it is much more robust to various cross-ClassLoader and > > arbitrary naming issues. So check that only one entity is mapped to > > cl.mydomain.User class, and we'll go from there. > > > > Thanks, > > Andrus > > > > > > On May 3, 2008, at 5:01 PM, Hans Poo wrote: > >> Hi, > >> > >> I'm getting the next error (using cayenne 2.04): > >> > >> Can't perform lookup. There is more than one ObjEntity mapped to > >> class cl.mydomain.User. > >> > >> > >> The model was created with the cayenne 2.04 modeler, and that is > >> the tool i'am using for maintenance. > >> Moreover i've checked the model manually, and the class isn't > >> double mapped. > >> > >> Can anyone give me some help ? > >> > >> I've tried using 3.0 libraries, and the error don't show up. > >> > >> -- The problem is that i'am force to use 2.04 and can't move to 3.0 > >> -- > >> > >> Atte > >> Hans > >> > >> Open WebMail Project (http://openwebmail.org) > >> > >> > > > > -- Open WebMail Project (http://openwebmail.org)