雪洗中关村

导航

随笔分类 -  1.1.003001000──┼─ hibernate

Spring Data JPA Hibernate @QueryHints
摘要:另一个实例: http://leobluewing.iteye.com/blog/2032396 ; 本文内容来源:https://blog.csdn.net/gavinchen1985/article/details/81841687 jpa官方:https://docs.spring.io/sp 阅读全文

posted @ 2018-10-16 17:07 雪洗中关村

hibernate @Formula
摘要:https://blog.csdn.net/ooiuy450/article/details/55225465 https://blog.csdn.net/ypp91zr/article/details/78026791 阅读全文

posted @ 2018-10-12 13:18 雪洗中关村

Restrictions用法
摘要:HQL运算符 QBC运算符 含义 = Restrictions.eq() 等于equal <> Restrictions.ne() 不等于not equal > Restrictions.gt() 大于greater than >= Restrictions.ge() 大于等于greater tha 阅读全文

posted @ 2018-08-08 20:24 雪洗中关村

@Transactional + FetchType.LYZY (hibernate) <---> Exception: could not initialize proxy - no Session;
摘要:转自: https://blog.csdn.net/blueheart20/article/details/52912023 4.问题的解决 尝试1: 在Service方法中新增了@Transactional进行事务添加 结果1: 无效 尝试2: 在@OneToMany的方法上,使用@Lazy(fa 阅读全文

posted @ 2018-08-07 16:10 雪洗中关村