HTTP Status 500 - Write operations are not allowed in read-only mode (FlushMode.MANUAL)
HTTP Status 500 - 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.

在applicationContext.xml中配置事务管理器,并开启事务扫描
添加注解
浙公网安备 33010602011771号