What is the MariaDB dialect class name for Hibernate?(Hibernate 的 MariaDB 方言类名称是什么?)
问题描述
在 Hibenate 我正在使用 MariaDB 但我找不到 MariaDB 的方言类名称.
In Hibenate I am using MariaDB but I couldn't find the dialect class name of MariaDB .
在Hibernate中,MySQL5方言的名字是
In Hibernate, MySQL5 dialect's name is
<property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>
对于 Oracle 10g
For Oracle 10g
<property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>
MariaDB 的方言类名称是什么?
What is the dialect class name for MariaDB?
推荐答案
正如在这里宣布,从 Hibernate ORM 5.2.8(2017 年 2 月 15 日左右)开始,方言
As announced here, starting with Hibernate ORM 5.2.8 (around Feb 15, 2017), the dialects
org.hibernate.dialect.MariaDB53Dialect
和
org.hibernate.dialect.MariaDBDialect
可用.公告的结论是
如果您使用 MariaDB,最好使用 MariaDB-specific从现在开始使用方言,因为它更容易匹配 MariaDB具有相应 Hibernate 方言的版本.
If you are using MariaDB, it’s best to use the MariaDB-specific Dialects from now on since it’s much easier to match the MariaDB version with its appropriate Hibernate Dialect.
这篇关于Hibernate 的 MariaDB 方言类名称是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Hibernate 的 MariaDB 方言类名称是什么?


基础教程推荐
- 从 python 访问 JVM 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 多个组件的复杂布局 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01