ErrorAndException
halking
成为一名自由的极客
展开
-
在注入“sessionFactory”时提示java.lang.AbstractMethodError错误
在集成springmvc与Hibernate时遇到的问题Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\apache-tomcat-7.0.59\webapps\Spring原创 2015-10-23 16:54:12 · 1096 阅读 · 0 评论 -
关于Hibernate使用spring事务管理的错误
Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.是因为Service中的方法与事务策略中原创 2015-10-23 23:27:45 · 324 阅读 · 0 评论