1 Reply Latest reply on Aug 24, 2006 12:29 AM by Norman Richards

    Exporting schema from DVD sample

    JBoss Fan Newbie


      What is the simplest way to export the schema from this example to a ddl file? I had in mind the hbm2ddl task, but would that work with EJB3 using annotations (therefore not having a hbm.xml)

      I've attempted setting up hbm2ddl as a property in the persistence.xml without results.

       <property name="hibernate.hbm2ddl.text" value="yes"/>
       <property name="hibernate.hbm2ddl.output" value="sql-output.ddl"/>

      Thanks for your help