Just use <property name="hibernate.hbm2ddl.auto" value="create-drop" /> in your peristence.xml so that the tables are automatically created by hibernate View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983742#3983742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983742