You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the only implementation of PersistenceExceptionTranslator capable of translating HibernateException types is AbstractSessionFactoryBean and therefore its concrete subclasses, LocalSessionFactoryBean and AnnotationSessionFactoryBean. This works fine in an XML configuration context, but when configuring the container via @Configuration classes, using a FactoryBean type is discouraged. #12721 resolves this fundamental issue by introducing *SessionFactoryBuilder types. As part of that effort, it's important that we factor out a HibernateExceptionTranslator type that can be registered independently as a @Bean.
Activity