initialize « Property « JPA Q&A





1. Using a constructor to initialize properties in JPA    stackoverflow.com

I have a doubt about using the constructor to initialize lists and other fields when using JPA, specifically my question is as follows: Suppose I have an entity bean, that has lots ...

2. Get entity with all proxies (lazy properties) initialized    forum.hibernate.org

Hi, I'm posting this to get some feedback. Being fairly well-read in the use of Hibernate I'm definitely aware of the long-conversation and 'session in view' concepts. However, like several of my projects and many posts in this forum, sometimes you just have to have all lazy properties of an entity initialized on the return of some method and sometimes you ...