Hi I need to integrate this project available at https://github.com/spring-projects/spring-data-envers into my project. I'm using spring-boot to manage all my configurations so I don't know how to add the line : into my project. I added the dependency spring-data-envers into my project but in order to use the repository that spring-data provides something else has to be done that I'm not seeing. Please give me a hint on how to do this with spring-boot
相关问题
- java.lang.IllegalArgumentException: Cannot set to
- Spring Data MongoDB - lazy access to some fields
- Declaring an explict object dependency in Spring
- Decoding body parameters with Spring
- Spring Integration - Inbound file endpoint. How to
相关文章
- java JDK动态代理和cglib动态代理最后获取的代理对象都为null的问题
- org.xml.sax.SAXParseException; lineNumber: 7; colu
- SpringMVC如何把File封装到Map中?
- Spring: controller inheritance using @Controller a
- How to load @Configuration classes from separate J
- Java spring framework - how to set content type?
- Java/Spring MVC: provide request context to child
- Spring 5 Web Reactive - Hot Publishing - How to us
Repository itself has an example how to use it.
In general you need to add special
Hibernate
annotation@Audited
to entities. And your repository interfaces should extend additional interfaceEnversRevisionRepository
.Add this:
We use this: