已经配置了<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
为什么还是报错?
Exception in thread "main" org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection avalable
为什么还是报错?
Exception in thread "main" org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection avalable
我们的一个配置
不全是你的这个property配置的问题!
可能是hibernate方言属性的问题, 你把你的配置文件代码贴多点出来···