Mo 15 Feb 2010
Spring: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
Geschrieben von Jürgen Mayer unter Erfahrungen, experience
Tags: none
The spring configuration file applicationContext.xml may contain this line:
<property name=”dialect”>org.hibernate.dialect.DB2Dialect</property>
Instead of this line you should try this:
<prop key=”hibernate.dialect”>org.hibernate.dialect.DB2Dialect</prop>
Hibernate properties within a spring configuration file start with ‘hibernate.’
Verwandte Beiträge:
- None