How to configure auditing with java config

北战南征 提交于 2019-12-06 01:36:33

First of all, Spring Data JPA 1.5 M1 ships with @EnableJpaAuditing so that you don't need the extra XML file if you're able to upgrade to this version.

It seems like you're missing the declaration of the AuditingEntityListener in the JPA config (usually the orm.xml config file). See the reference documentation for details.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!