You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lp...@apache.org on 2026/02/08 06:32:06 UTC
(shiro) 01/05: samples(spring-hibernate): removed explicit hibernate dialect - deprecated
This is an automated email from the ASF dual-hosted git repository.
lprimak pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/shiro.git
commit 7d21927134d93b04fc93c1656d2000ce3ee5b909
Author: lprimak <le...@flowlogix.com>
AuthorDate: Sat Feb 7 14:04:55 2026 -0600
samples(spring-hibernate): removed explicit hibernate dialect - deprecated
---
.../spring-hibernate/src/main/webapp/WEB-INF/applicationContext.xml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/samples/spring-hibernate/src/main/webapp/WEB-INF/applicationContext.xml b/samples/spring-hibernate/src/main/webapp/WEB-INF/applicationContext.xml
index 05bb0a28e..1a982447f 100644
--- a/samples/spring-hibernate/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/samples/spring-hibernate/src/main/webapp/WEB-INF/applicationContext.xml
@@ -55,10 +55,7 @@
<property name="dataSource" ref="dataSource"/>
<property name="packagesToScan" value="org.apache.shiro.samples.sprhib.model"/>
<property name="jpaVendorAdapter">
- <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
- <!-- Optional; you can omit dialect and let Hibernate detect it -->
- <property name="databasePlatform" value="org.hibernate.dialect.HSQLDialect"/>
- </bean>
+ <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"/>
</property>
<property name="jpaPropertyMap">
<map>