You wouldn't do a cast you need to call the | getUnderlyingResultSet() | on the WrappedResult set. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039834#4039834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039834