Hibernate Dialect for Oracle 19

前端 未结 1 1957
既然无缘
既然无缘 2021-01-14 20:07

One of our database was upgraded to Oracle 19c and now my application is unable to connect to database

I am getting the following error.

HHH000400:          


        
1条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-14 20:52

    There isn't a newer dialect than 12c, and it would be fine to use it with 19c, but there was a bug in hibernate-orm that prevents the auto detection to work, see:

    https://hibernate.atlassian.net/browse/HHH-13184

    https://hibernate.atlassian.net/browse/HHH-13609

    It is already solved in the newer 5.4 releases, and I opened a PR for the 5.3 branch.

    A workaround for now is to manually set the dialect property hibernate.dialect to org.hibernate.dialect.Oracle12cDialect.

    0 讨论(0)
提交回复
热议问题