解决 Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker的方法:
错误描述: org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
解决 Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker
解决 Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker的方法:错误描述:org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode