- 博客(3)
- 收藏
- 关注
原创 ssh整合能获取数据不能写入数据
错误:attempt to create saveOrUpdate event with null entity 数据能获取说明hibernate配置没有问题,先关掉事务再找bug,注释掉写入代码,输出前台接收的数据。 错误:Exception occurred during processing request: null 再输出一条验证对象是不是空的,的确是空 检测发现getModel()有从...
2019-03-26 22:09:11
176
原创 记录:ssh整合数据写不入数据库(出现多个错误)
错误: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. 我去web.xml添加了↓,并且开启了事务 ...
2019-03-07 10:22:37
172
原创 ssh整合中遇到的类映射出错导致sessionFactory创建失败
Error creating bean with name ‘sessionFactory’ defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.boot.MappingException: Assoc...
2019-03-05 17:31:53
343
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人