Hi all.

Assuming “Device” is a DataObject class containing a property named “username”, 
this code:

Device.USERNAME.isNull().toEJBQL( "alias” );

results in: "alias.username is null"

However, if I “not” the expression by doing:

Device.USERNAME.isNotNull().toEJBQL( "alias” );

the result is: "not (username = null)"

I.e., it’s missing the alias and thus the query fails. Isn’t this a bug?

Cheers,
- hugi

// Hugi Thordarson
// http://www.loftfar.is/
// s. 895-6688

Reply via email to