I am using JPA 2.1 and Hibernate as a JPA implementation, and I want to load a relationship as an immutable collection.
Let's take an example of an Employer
parent entity that has an employees
child collection.
What can be done to instruct JPA to load an immutable employees
collection?