This is one solution I though of as well. But maybe there is already an "integrated" solution as it is in hibernate. Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122552#4122552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122552