Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushM

Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushM

发现是和Spring的事务配置有关系

Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushM

调用的Service里的函数名一定要和自己定义的名字要写的匹配,名字没对上就会使用最后的* 导致只能 只读 

Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushM

上一篇:std::memory_order 概述


下一篇:AttributeError: 'str' object has no attribute 'decode'