Yew, thats a bug, please report it in JIRA. But .... I don't see any good solution,
apart from parsing the whole query....
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048350#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...