| Gail Badner I'm wondering if, instead of having an option with 2 exception converters, we should condition the behavior of the exception converter depending on the value of sharedSessionContract.getFactory().getSessionFactoryOptions().isJpaBootstrap(). Because AFAICS, we expect wrapping when using an entity manager and unwrapped exceptions when using a plain session. |