There are multiple types of Employee: FullTimeEmployee, PartTimeEmployee, ...
Every Device has a owner with Employee type.
1. Use @Any to map Device.owner and set fetch to FetchType.EAGER.
2. Retrieve a Device instance in a session.
3. Close the session.
4. Print out the owner of the device instance.
See the owner of the device instance.
org.hibernate.LazyInitializationException: could not initialize proxy [com.netbase.FullTimeEmployee#1] - no Session