Best is to get it from the api (including the query api) and not use the database directly. What is the issue you have? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267136#4267136 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267136