After some more testing I found out something wierd. Native queries are working, they work for right database. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110805#4110805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110805