alban_coul, the problem lays in your hibernate-service.xml: | <attribute name="Hbm2ddlAuto">create-drop</attribute> | create-drop, on JBoss startup, is creating all the tables defined in your *.hbm.xml files and then droping them. To prevent this from happening, once you have created all the tables, specify no value in your Hbm2ddlAuto attribute:
| <attribute name="Hbm2ddlAuto"></attribute> | regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878881#3878881 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878881 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user