今天在网上down了个工程,跑起来却发生异常.提示是这样的:
Error creating bean with name 'MySessionFactory' defined in file [D:\tt\src\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
我查了下资料,说Dialect 的设置是hinberte在使用的时候到cfg.xml中配置的,我又查了下spring书,上面没有写 需要配置这个东西.
麻烦高手们帮我看下吧!
Error creating bean with name 'MySessionFactory' defined in file [D:\tt\src\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
我查了下资料,说Dialect 的设置是hinberte在使用的时候到cfg.xml中配置的,我又查了下spring书,上面没有写 需要配置这个东西.
麻烦高手们帮我看下吧!