I think what you are doing should work. What database are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996923#3996923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996923