java.lang.reflect.Proxy.isProxyClass(Proxy.java:791)at sun.reflect.annotation.AnnotationInvocationHandler.asOneOfUs(AnnotationInvocationHandler.java:226)
at sun.reflect.annotation.AnnotationInvocationHandler.equalsImp
我试图从我的数据库中删除超过2天的所有记录,但我一直收到这个不太有用的错误,所以我不知道该怎么办: Some problem occured: org.springframework.dao.InvalidDataAccessApiUsageException: Executing an update/delete query; nested exception is javax.persistence.TransactionRequiredException: Executing an update/delete query 我的代码如下所示: 在一个类中,我调用了testService的