It is using the hibernate mapping language so that complicates it a little bit more from doing that. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959953#3959953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959953