![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JPA
wuydit
这个作者很懒,什么都没留下…
展开
-
@Transient注解
@Transient表示该属性并非一个到数据库表的字段的映射,ORM框架将忽略该属性. 如果一个属性并非数据库表的字段映射,就务必将其标示为@Transient,否则,ORM框架默认其注解为@Basic 示例: //根据birth计算出age属性 @Transient public int getAge() { return getYear(new转载 2016-05-05 16:47:11 · 545 阅读 · 0 评论 -
JPA多对多操作中,Lombok @DATA @EqualsAndHashCode循环依赖问题导致程序StackOverflowError
今天遇到的jpa出现内存溢出,并且在对集合转换时日志多条警告并且出现异常 错误 elAdmin- 2019-03-15 16:30:05 [http-nio-8000-exec-1] WARN o.h.e.loading.internal.LoadContexts - HHH000100: Fail-safe cleanup (collections) : org.hibernate.engin...原创 2019-03-15 16:47:56 · 3530 阅读 · 3 评论