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 方言类名称是什么?
基础教程推荐
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- Struts2 URL 无法访问 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
