| 
					
						 Hi everybody!
  I'm trying to use the "new" constructor as follows:
  SELECT NEW org.package.PersonInfo(p.personId, p.name, p.lastName, " + 				" (p.personId = u.person.personId))" + 				"FROM Person p, User u WHERE " +				 				"p.personId = u.person.personId " + 				"ORDER BY p.lastName")
 
 
  I'm wondering if this construction with a boolean expresion "(p.personId = u.person.personId)" is feasible because it always returns false, even when I know certainly both p.personId and u.person.personId are equal. What am I doing wrong?
  Thank you very much! 
					
  
						
					 |