Java 如何配置CustomAuditEventRepository以对xml进行审核
我有一个非常旧的java应用程序(servlet/jsp),我正在对它进行现代化 我需要在模型上添加审计跟踪 我正在尝试使用JHipsterJava 如何配置CustomAuditEventRepository以对xml进行审核,java,spring,hibernate,jhipster,hibernate-envers,Java,Spring,Hibernate,Jhipster,Hibernate Envers,我有一个非常旧的java应用程序(servlet/jsp),我正在对它进行现代化 我需要在模型上添加审计跟踪 我正在尝试使用JHipsterCustomAuditEventRepository,但我还没有配置所有的spring引导 Spring和hibernate通过Spring config.xml进行配置 我的班级是这样的: @Repository public class CustomAuditEventRepository implements AuditEventRepository
CustomAuditEventRepository
,但我还没有配置所有的spring引导
Spring和hibernate通过Spring config.xml进行配置我的班级是这样的:
@Repository
public class CustomAuditEventRepository implements AuditEventRepository
我需要以某种方式将其添加到xml中