title: How to export the schema for hibernate > 4.3
body: <p>There are many post on how to export programmatically a schema with hibernate (e.g. [1]).</p>
  
  <p>But with Hibernate 4.3 the class <code>org.hibernate.ejb.Ejb3Configuration</code> got removed and I could not find any replacement for it.
  How can I programmatically generate the ddl script with a hibernate version >=4.3? 
  Since I'm using spring for setting up the entity manger, I also don't have to use a persitence.xml anymore and I would like to keep it that way.</p>
  
  <p>[1] <a href="http://techblog.bozho.net/?p=935" rel="nofollow">http://techblog.bozho.net/?p=935</a></p>