【发布时间】:2014-09-11 19:06:16
【问题描述】:
如果我编写一个扩展 EmptyInterceptor 的类,我应该使用什么注释。
有没有人可以指点我的例子。我应该使用 Hibernate 的 EmptyInterceptor 还是 spring 有其他一些我应该使用的类
谢谢
【问题讨论】:
-
你在使用spring-mvc吗?如果是这样,您可以在 spring-mvc 中使用拦截器。 docs.spring.io/spring/docs/current/spring-framework-reference/…
标签: java spring hibernate jpa interceptor