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 方言类名称是什么?


- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01