在整合ssh三大框架过程的 遇到了如下异常,在csdn上找了相关的博客还是没有解决,最后发现是声明式事务的method值写成了dao层的方法;
method的值为声明式事务管理的 方法!!
method的值为声明式事务管理的 方法!!
method的值为声明式事务管理的 方法!!
org.springframework.dao.InvalidDataAccessApiUsageException: 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.