<property name="jpaProperties">
<props>
<prop key="hibernate.ejb.interceptor">cn.com.easy.permission.aspect.AuditLogInterceptor</prop>
</props>
</property>hibernate
package cn.com.easy.permission.aspect;接口
public class AuditLogInterceptor extends EmptyInterceptor {it
}io
具體的攔截接口參看: org.hibernate.EmptyInterceptorclass