| At the moment, if using enhancement you have to specify @org.hibernate.annotations.LazyToOne(NO_PROXY) for any and all many-to-one and one-to-one associations you want to have laziness for handled via enhancement (no-proxy) rather than proxying. This is unfortunately left over from Hibernate's legacy; I hope to have a better solution to that moving forward. So we will leave this open as a bug/improvement, but using that that LazyToOne annotation should be the proper work-around in the short-term. Luis Barreiro What do you think of my proposal to simply assume @LaxyToOne(NO_PROXY) if the container is enhanced? |