org.hibernate.LazyInitializationException: could not initialize proxy [com.panda.girl.domain.Girl#1]
spring boot——一个懒加载问题
96 吴小破
2018.08.07 20:34* 字数 179 阅读 1777评论 0喜欢 0
一、这是个问题
情形如下
(1)简单的单元测试类
@RunWith(SpringRunner.class)
@SpringBootTest
public class GirlServiceTest {
@Autowired
private GirlServic...
原创
2019-08-01 00:05:19 ·
161 阅读 ·
0 评论