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.

write operations are not allowed in read-only mode(flushMode.MANUAL)

遇见这种问题的时候,就是applicationContext.xml配置问题了

解决方法:

write operations are not allowed in read-only mode(flushMode.MANUAL)

加一句<tx:method name="*"/>就可以了








相关文章:

  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2021-09-21
猜你喜欢
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-08-24
  • 2021-07-04
相关资源
相似解决方案