Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/304.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何配置CustomAuditEventRepository以对xml进行审核_Java_Spring_Hibernate_Jhipster_Hibernate Envers - Fatal编程技术网

Java 如何配置CustomAuditEventRepository以对xml进行审核

Java 如何配置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

我有一个非常旧的java应用程序(servlet/jsp),我正在对它进行现代化

我需要在模型上添加审计跟踪

我正在尝试使用JHipster
CustomAuditEventRepository
,但我还没有配置所有的spring引导

Spring和hibernate通过Spring config.xml进行配置
我的班级是这样的:

@Repository
public class CustomAuditEventRepository implements AuditEventRepository
我需要以某种方式将其添加到xml中