![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
YABAJ
这个作者很懒,什么都没留下…
展开
-
Could not determine type for
hibernate报错: Could not determine type for: java.util.Set解决: 实体类中的所有注解,要么全写在属性上,要么全写在get方法上,绝对不要有的写在属性上有的写在get方法上public A { @Column private String t; public String getT(){ return t; } ...原创 2018-07-11 11:45:44 · 1066 阅读 · 0 评论 -
deleted object would be re-saved by cascade和ORA-02292
hibernate报错:org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): [org.herysoft.framework.sys.domain.Res...原创 2018-07-11 11:35:46 · 373 阅读 · 0 评论 -
Encountered a duplicated sql alias [FEE_CHARGING] during auto-discovery of a native-sql query
org.hibernate.loader.custom.NonUniqueDiscoveredSqlAliasException: Encountered a duplicated sql alias [FEE_CHARGING] during auto-discovery of a native-sql query这是hibernate报错,说我的字段[FEE_CHARGING]没有加别名 ...原创 2018-05-24 11:12:37 · 476 阅读 · 0 评论