Skip to content

Commit

Permalink
Add test for the Oracle Dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Apr 8, 2021
1 parent 4d75e4a commit 50aca25
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.hibernate.dialect.DerbyTenSevenDialect;
import org.hibernate.dialect.MariaDB103Dialect;
import org.hibernate.dialect.MySQL8Dialect;
import org.hibernate.dialect.Oracle12cDialect;
import org.hibernate.dialect.SQLServer2012Dialect;
import org.jboss.jandex.DotName;
import org.junit.jupiter.api.Assertions;
Expand Down Expand Up @@ -41,6 +42,7 @@ public void testDialectNames() {
assertDialectMatch(DatabaseKind.MYSQL, MySQL8Dialect.class);
assertDialectMatch(DatabaseKind.DERBY, DerbyTenSevenDialect.class);
assertDialectMatch(DatabaseKind.MSSQL, SQLServer2012Dialect.class);
assertDialectMatch(DatabaseKind.ORACLE, Oracle12cDialect.class);
}

private void assertDialectMatch(String dbName, Class<?> dialectClass) {
Expand Down

0 comments on commit 50aca25

Please sign in to comment.