When using bytecode enhancement and @LazyToOne(LazyToOneOption.NO_PROXY) on a @ManyToOne(fetch = FetchType.LAZY) field, Hibernate ignores use of javax.persistence.loadgraph, specified fields in the graph still don't get loaded. It's fixed only when using @LazyToOne(LazyToOneOption.PROXY) |