Package util

Source Code of util.SchemaGenerator

package util;

import org.hibernate.cfg.Configuration;
import org.hibernate.dialect.H2Dialect;

public class SchemaGenerator {

    public static void main(String[] args) {
        Configuration configuration = new Configuration().configure();
        String[] strings = configuration.generateSchemaCreationScript(new H2Dialect());
        for (String string : strings) {
            System.out.println(string);
        }

    }

}
TOP

Related Classes of util.SchemaGenerator

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.