What is the difference between HibernateExceptionTranslator and HibernateJpaDialect?

前端 未结 0 1804
情话喂你
情话喂你 2020-12-03 11:16

I would like to translate Hibernate exceptions to Spring exceptions (child classes of DataAccessException ). I thought it was sufficient to add a bean like below to the data

相关标签:
回答
  • 消灭零回复
提交回复
热议问题