For more information, see https://glassfish.dev.java.net/issues/show_bug.cgi?id=404.
Access LAZY initialized relationship in server-side code before returning an instance to the client.