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.
原因:未加事务处理
解决方案:
dao.InvalidDataAccessApiUsageException异常
最新推荐文章于 2022-04-01 17:52:30 发布