【问题标题】:What is the most suitable hibernate.dialect for postgresql 10.5? [closed]postgresql 10.5 最适合的 hibernate.dialect 是什么? [关闭]
【发布时间】:2018-10-18 08:21:35
【问题描述】:

我在这里查看休眠文档:https://docs.jboss.org/hibernate/orm/5.0/javadocs/org/hibernate/dialect/package-summary.html 以尝试找到要在 persistence.xml 中使用的 hibernate.dialect

它没有提到 Postgres 10.x 的类。我应该使用PostgreSQL94Dialect吗?

【问题讨论】:

  • 你如何看待这个据称是为An SQL dialect for Postgres 9.4 and later. 准备的课程......你认为它涵盖了 Postgres 10.x 吗? 10.x 是否晚于 9.4?显然,其他 JPA 提供者只是自动检测数据库,而不是依赖用户来设置这些东西......
  • Hibernate 5.4 有PostgreSQL10Dialect

标签: postgresql hibernate hibernate-5.x postgresql-10


【解决方案1】:

查看at newest documentation,它是PostgreSQL95Dialect

【讨论】:

    猜你喜欢
    • 2012-12-29
    • 2020-09-05
    • 1970-01-01
    • 1970-01-01
    • 2022-01-13
    • 1970-01-01
    • 2014-04-13
    • 1970-01-01
    • 2010-09-24
    相关资源
    最近更新 更多