Replacing SchemaExport(Configuration) in Hibernate 5
While migrating from Hibernate 4 to 5 I came across the deprecation and eventual removal of the SchemaExport(Configuration) constructor. What is a good alternative in Hibernate 5? Use case During testing we create a SchemaExport instance with a configuration that had some properties set and defines mapping resources: // somewhere else `Properties` are filled and passed as a parameter Properties properties = new Properties(); properties.put("hibernate.dialect", "org.hibernate.dialect.HSQLDialect"); properties.put("hibernate.connection.driver_class", "org.hsqldb.jdbc.JDBCDriver"); // more