I mean if you want to just always load an association eagerly, that’s easy to do. I don’t really know why you were using @Proxy(lazy=FALSE) for that! You can use @ManyToOne(fetch=EAGER) to tell Hibernate to load eagerly and eliminate the proxy, and then {{@Fetch(SELECT)}}if you want to use a separate select instead of a join. And this is much better because it’s more granular. |