You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Jo...@filternet.nl on 2014/12/02 23:09:24 UTC

JDOQL query for none empty


 Anybody knows if it is possible to query for none_empty values with JDOQL?


	    @javax.jdo.annotations.Query(

	            name = "allDemandProfiles", language = "JDOQL",

	            value = "SELECT "

	                    + "FROM info.matchingservice.dom.Profile.Profile "

	                    + "WHERE demandProfileOwner != Null")  

	Does not work...


Re: JDOQL query for none empty

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Johan,

should it not be simply "==null"  (lowercase) ?

Dan



On 2 December 2014 at 22:09, <Jo...@filternet.nl> wrote:

>
>
>  Anybody knows if it is possible to query for none_empty values with JDOQL?
>
>
>             @javax.jdo.annotations.Query(
>
>                     name = "allDemandProfiles", language = "JDOQL",
>
>                     value = "SELECT "
>
>                             + "FROM
> info.matchingservice.dom.Profile.Profile "
>
>                             + "WHERE demandProfileOwner != Null")
>
>         Does not work...
>
>