Example usage for org.hibernate.dialect H2Dialect H2Dialect

List of usage examples for org.hibernate.dialect H2Dialect H2Dialect

Introduction

In this page you can find the example usage for org.hibernate.dialect H2Dialect H2Dialect.

Prototype

public H2Dialect() 

Source Link

Document

Constructs a H2Dialect

Usage

From source file:com.isotrol.impe3.web20.SchemaTest.java

License:Open Source License

@Test
public void h2() {
    showSchema(new H2Dialect());
}

From source file:com.manydesigns.portofino.database.platforms.H2DatabasePlatform.java

License:Open Source License

public H2DatabasePlatform() {
    super(new H2Dialect(), "jdbc:h2:<database or connection spec>");
}

From source file:net.derquinse.common.orm.hib.SchemaTest.java

License:Apache License

public void basic() {
    showSchema("Basic", TestConfigurations.basic(), new DerquinseMySQL5InnoDBDialect());
    //showSchema("Basic", TestConfigurations.basic(), new MySQL5InnoDBDialect());
    showSchema("Basic", TestConfigurations.basic(), new H2Dialect());
    //showSchema("Basic", TestConfigurations.basic(), new Oracle10gDialect());
}

From source file:net.derquinse.common.orm.hib.SchemaTest.java

License:Apache License

@Test
public void types() {
    showSchema("Types", TestConfigurations.types(), new DerquinseMySQL5InnoDBDialect());
    //showSchema("Types", TestConfigurations.types(), new MySQL5InnoDBDialect());
    showSchema("Types", TestConfigurations.types(), new H2Dialect());
    //showSchema("Types", TestConfigurations.types(), new Oracle10gDialect());
}