Use proper Oracle dialect for Hibernate 6+
This commit fixes the Hibernate dialect lookup for Oracle as it was previously using a dialect that has been moved and deprecated to a separate project. In recent versions, the standard OracleDialect is the one we should be using. Closes gh-31892
This commit is contained in:
parent
9f2970bc5c
commit
0390709577
|
@ -36,6 +36,7 @@ import org.hibernate.dialect.Informix10Dialect;
|
|||
import org.hibernate.dialect.MySQL57Dialect;
|
||||
import org.hibernate.dialect.MySQLDialect;
|
||||
import org.hibernate.dialect.Oracle12cDialect;
|
||||
import org.hibernate.dialect.OracleDialect;
|
||||
import org.hibernate.dialect.PostgreSQL95Dialect;
|
||||
import org.hibernate.dialect.SQLServer2012Dialect;
|
||||
import org.hibernate.dialect.SybaseDialect;
|
||||
|
@ -202,7 +203,7 @@ public class HibernateJpaVendorAdapter extends AbstractJpaVendorAdapter {
|
|||
case HANA -> HANAColumnStoreDialect.class;
|
||||
case HSQL -> HSQLDialect.class;
|
||||
case MYSQL -> MySQLDialect.class;
|
||||
case ORACLE -> Oracle12cDialect.class;
|
||||
case ORACLE -> OracleDialect.class;
|
||||
case POSTGRESQL -> org.hibernate.dialect.PostgreSQLDialect.class;
|
||||
case SQL_SERVER -> SQLServer2012Dialect.class;
|
||||
case SYBASE -> SybaseDialect.class;
|
||||
|
|
Loading…
Reference in New Issue