Package org.hibernate.dialect

Examples of org.hibernate.dialect.MySQL5InnoDBDialect


   
    assertSameClass(OracleMetaDataDialect.class, mdf.fromDialect(new Oracle8iDialect()));
    assertSameClass(OracleMetaDataDialect.class, mdf.fromDialect(new Oracle9Dialect()));
    assertSameClass(OracleMetaDataDialect.class, mdf.fromDialect(new Oracle10gDialect()));
    assertSameClass(OracleMetaDataDialect.class, mdf.fromDialect(new Oracle9iDialect()));
    assertSameClass(MySQLMetaDataDialect.class, mdf.fromDialect(new MySQL5InnoDBDialect()));
    assertSameClass(H2MetaDataDialect.class, mdf.fromDialect(new H2Dialect()));
    assertSameClass(HSQLMetaDataDialect.class, mdf.fromDialect(new HSQLDialect()));
   
  }
View Full Code Here


        String databaseName = metaData.getDatabaseProductName();
        int databaseMajorVersion = metaData.getDatabaseMajorVersion();

        if ( "MySQL".equals( databaseName ) ) {
            if (5 == databaseMajorVersion)
                return new MySQL5InnoDBDialect();
            else
                return new MySQLInnoDBDialect();
        }

        return null;
View Full Code Here

TOP

Related Classes of org.hibernate.dialect.MySQL5InnoDBDialect

Copyright © 2018 www.massapicom. 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.