Java 类org.hibernate.dialect.Oracle12cDialect 实例源码

项目:shogun2    文件:PhysicalNamingStrategyShogun2Test.java   
/**
 * Tests whether the Oracle identifier limit is respected in case of tables.
 */
@Test
public void testOracleTableIdentifierLimit() throws SQLException {
    int lengthLimit = PhysicalNamingStrategyShogun2.LENGTH_LIMIT_ORACLE;
    Dialect dialect = new Oracle12cDialect();

    testTableIdentifierLimit(lengthLimit, dialect);
}
项目:shogun2    文件:PhysicalNamingStrategyShogun2Test.java   
/**
 * Tests whether the Oracle identifier limit is respected in case of columns.
 */
@Test
public void testOracleColumnIdentifierLimit() throws SQLException {
    int lengthLimit = PhysicalNamingStrategyShogun2.LENGTH_LIMIT_ORACLE;
    Dialect dialect = new Oracle12cDialect();

    testColumnIdentifierLimit(lengthLimit, dialect);
}