Am I seeing that correctly:

If a property is primitive type boolean, then EntityQuery cannot tell that I 
don't want to search for it in a specific query (from a form at a list view), 
it would always search either for false or true, but never both.

The workaround is to define the property of class Boolean.  May annotate it 
@NotNull for persistence.

Then the query works the first time coming to the page, having null in the 
Boolean.

But the next time, i.e. searching from the page with form submit, it gets a 
FALSE from the h:selectBooleanCheckbox.

Haven't found an elegant solution yet.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027598#4027598

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027598
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to