[jboss-user] [JBoss Seam] - Re: Query with empty restriction

lightbulb432 do-not-reply at jboss.com
Mon Mar 19 19:55:28 EDT 2007

I could catch the QuerySyntaxException and return an empty list, but is this the expected behavior from a query with an empty #{member.countries}?

Instead, shouldn't it evaluate to

SELECT c FROM Country c where c IN (NULL) 

instead of 

SELECT c FROM Country c where c IN () 

or something like that?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029556

More information about the jboss-user mailing list