Considering OSIV/OEMIV is widely considered an anti-pattern, OpenEntityManagerInViewInterceptor should IMO not be enabled by default. Rather than that it should be opt-in.
If this proposal isn't accepted at the very least the default behavior should be stressed properly in the documentation. Currently the only reference is in configuration properties appendix.
Considering OSIV/OEMIV is widely considered an anti-pattern,
OpenEntityManagerInViewInterceptorshould IMO not be enabled by default. Rather than that it should be opt-in.If this proposal isn't accepted at the very least the default behavior should be stressed properly in the documentation. Currently the only reference is in configuration properties appendix.