We dont have any custom BytecodeProvider implementation. Now, when the client work with the {{Entity }}no one lazy property are used, otherwise a LazyInitializzationException will be thrown. As i said we working on a legacy project that use {{Entity }}as DTO exposed to the client. Since the project is complex, changing this architecture would require a lot of time and resources that we don't have available at the moment. For this reason we need to be able to have support for this scenario |