sorry, then you are on your own... if it works with static true/false, but not with your query, we can't help you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135899#4135899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135899