cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "camone" <cam...@mynet.com>
Subject entity equalilty and filterobjects
Date Wed, 23 Jun 2010 17:17:48 GMT


Hi all...
my question about memory evaluation...
  
i have a user entity and laboratory entity... I
want to list users, who run the lab by memory evaluation.(user --&gt;n user2lab n&lt;--
lab -- many to many)List&lt;User&gt; allusers = .... --&gt; from UserService
context
expUsers =
ExpressionFactory.matchAllExp(user2labpath, labobject) ; --&gt; labobject,
from LabService context
List&lt;User&gt; userList =
expUsers.filterObject(allUserList) ;
but it is returning empty userlist... 
This, I think allUserlist 's and labobject of
defining different datacontext stems. because, 
from this part ASTEqual.java,
    static boolean evaluateAtomic(Object o1,
Object o2) {
            ........
return o1.equals(o2);
    }


talking for my example o1 and o2 have the same
value but just datacontext values are different.
Thus we are returned as empty list
userlist.
because of this reasons, userList is return empty
list...
does anyone have an idea ?

Note : i use cayenne-3.0








 






----- Özgün İleti -----

Kimden : "camone" 

Kime : "cayenne mail list" 

Gönderme tarihi : 18/02/2010 13:00

Konu : long table names




hi all...





I would

say are the long table names... for example table name is

system.firm or [system firm] .





i use sqlserver2005 and cayenne 3.01M1...





normally, sql sentence " select field1, fieild2 field3..etc from [system

firm] "





but how i cayenne implement long table names  will ???





thank in advance...















	
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message