JPA Lazy Loading

前端 未结 3 1688
一生所求
一生所求 2020-12-14 11:44

I have a problem with lazy loading property in JPA entity. I read many similar questions, but they are related to spring or hibernate and their answears are either not appli

3条回答
  •  长情又很酷
    2020-12-14 12:28

    To initialize laze in JPA, you need to invoke a jar library and start it, if it is with maven or manual por example , if you need laze, use jar in maven
    jar de.empulse.eclipselink More info http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Weaving/Static_Weaving#Use_the_Maven_plugin

提交回复
热议问题