This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 385cb9fa1c1 Fix class name of hibernate.dialect in example (#38025)
385cb9fa1c1 is described below
commit 385cb9fa1c185ddbd0bcf8a30713f6cf53474dcf
Author: Raigor <[email protected]>
AuthorDate: Thu Feb 12 23:39:14 2026 +0800
Fix class name of hibernate.dialect in example (#38025)
---
.../src/main/resources/template/resources/xml/application.ftl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/xml/application.ftl
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/xml/application.ftl
index b0e4c267d6f..8666d9bd370 100644
---
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/xml/application.ftl
+++
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/xml/application.ftl
@@ -46,7 +46,7 @@
<property name="packagesToScan"
value="org.apache.shardingsphere.example.${package}.${framework?replace('-',
'.')}.entity" />
<property name="jpaProperties">
<props>
- <prop
key="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</prop>
+ <prop
key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
<prop key="hibernate.hbm2ddl.auto">create-drop</prop>
<prop key="hibernate.show_sql">false</prop>
</props>