Hi i am new to Hibernate. I am using SQL Server 2014 and getting below error :
org.hibernate.HibernateException: Dialect class not found: org.hibernate.dialect.SQLServer2012Dialect
My hibernate.cgf.xml
:
Jars that I have included :
Please help me fix that error.
Maybe the error is on the propertyname? Try:
<property name="hibernate.dialect">
instead of <property name="dialect">
or maybe
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
Let me know if it works.
(Have you tried removing the dialect line? see what happens..)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.