- 博客(3)
- 问答 (1)
- 收藏
- 关注
原创 TransactionRequiredException: No EntityManager with actual transaction available for current thread
错误描述全称:javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call原因:没有在事务内进行表更新插入或者删除操作。解决办法...
2019-03-22 16:51:03
1586
原创 hibernate.QueryException: Legacy-style query parameters (`?`) are no longer supported 问题,记录一下。
问题源代码:Legacy-style query parameters (`?`) are no longer supported; use JPA-style ordinal parameters (e.g., `?1`)传统样式查询参数(`?`)不再支持;使用JPA样式的序号参数(例如,`?1’)// 问题源码String hql = "FROM AreaInfo WHER...
2019-03-16 21:42:06
1608
空空如也
如何对List对象内的内容进行分组,分组后转为Map方便操作
2022-06-16
TA创建的收藏夹 TA关注的收藏夹
TA关注的人