报错信息:3,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.
解决方法:
在配置文件中,事务没有配置上,
<aop:config>
<aop:advisor advice-ref="txadvice" pointcut="execution(* com.bid.bos.service.user.impl..*(..))"/>:错误代码
<aop:advisor advice-ref="txadvice" pointcut="execution(* com.bid.bos.service.*.impl..*(..))"/>:修改后正确代码
</aop:config>