Spring Boot + Oracle: Hibernate dialect is 9i when properties are set to 10g

I am trying to run a Spring boot application with Oracle DB and I specifically set the value spring.datasource.platformto org.hibernate.dialect.Oracle10gDialect.

While working, I see this message:

2017-03-30 14:15:34.474  INFO 6664 --- [  restartedMain] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.Oracle9iDialect

Why is it showing 9i instead of 10g? Is this something I am doing wrong, or is it being forced by my version of the driver in pom or the database I am using?

This is the pom driver:

<dependency>
    <groupId>com.oracle</groupId>
    <artifactId>ojdbc6</artifactId>
    <version>11.2.0.4</version>
</dependency>
+4
source share
1 answer
+3

Source: https://habr.com/ru/post/1673598/


All Articles