1 Reply Latest reply on Nov 29, 2005 2:28 AM by Frank Stolle

    hbm2ddl schema export seems to wipe out existing database

    kimbaltrue Newbie

      I almost have it working, but though I don't have anything in my persistence.xml about exporting the schema when the JBOSS entity manager loads it exports my schema and wipes out the pre-existing database with it's initial load.

      I don't think this happened with the standalone Hibernate Entity Manager.

      19:52:38,203 INFO [SchemaExport] Running hbm2ddl schema export
      19:52:38,203 INFO [SchemaExport] exporting generated schema to database
      19:52:41,765 INFO [SchemaExport] schema export complete