Write operations are not allowed in read-only mod



flushMode

AUTO




singleSession

true


我已经添加这段话了,不报错了,但是添加,修改,删除都不起作用

HibernateDaoSupport的子类在保存实体时抛出InvalidDataAccessApiUsageException异常,异常堆栈如下:
org.springframework.dao.InvalidDataAccessApiUsageException: Writ......
答案就在这里:Write operations are not allowed in read-only tomcat报错
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。