There is a missing return in org.hibernate.dialect.Database/ORACLE/resolveDialect for the default case, which causes this resolve to return null instead of the Oracle12cDialect.