今天在网上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书,上面没有写 需要配置这个东西.
麻烦高手们帮我看下吧!
本文描述了一个关于在Spring框架中集成Hibernate时遇到的问题:即未正确配置Hibernate Dialect导致的应用异常。作者尝试运行下载的工程项目时,遇到了与Hibernate Dialect配置相关的错误。


被折叠的 条评论
为什么被折叠?



