List of usage examples for org.hibernate.engine.jdbc.internal FormatStyle DDL
FormatStyle DDL
To view the source code for org.hibernate.engine.jdbc.internal FormatStyle DDL.
Click Source Link
From source file:com.ttech.cordovabuild.infrastructure.DDLExport.java
License:Apache License
@Test public void exportDDL() { Formatter formatter = FormatStyle.DDL.getFormatter(); Ejb3Configuration jpaConfiguration = new Ejb3Configuration().configure("cordova", null); Configuration hibernateConfiguration = jpaConfiguration.getHibernateConfiguration(); SchemaExport export = new SchemaExport(hibernateConfiguration); export.setOutputFile("my-schema.sql"); export.setDelimiter(";"); export.execute(true, false, false, true); }