사용자 도구

사이트 도구


java:hibernate:interceptor

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
java:hibernate:interceptor [2014/02/21 14:57]
kwon37xi
java:hibernate:interceptor [2018/01/04 08:08]
kwon37xi
줄 4: 줄 4:
   * http://docs.jboss.org/hibernate/core/4.2/javadocs/org/hibernate/Interceptor.html : EmptyInterceptor를 상속해서 필요한 것만 구현할 것   * http://docs.jboss.org/hibernate/core/4.2/javadocs/org/hibernate/Interceptor.html : EmptyInterceptor를 상속해서 필요한 것만 구현할 것
  
-(아마도 Hibernate 3.3부터 추가된 */ onPrepareStatement 를 통해 쿼리를 변경하는것이 가능하다.+(아마도 Hibernate 3.3부터 추가된onPrepareStatement 를 통해 쿼리를 변경하는것이 가능하다.
  
 http://www.mkyong.com/hibernate/hibernate-interceptor-example-audit-log/ http://www.mkyong.com/hibernate/hibernate-interceptor-example-audit-log/
줄 16: 줄 16:
 JPA에서는 ''hibernate.ejb.interceptor'' 프라퍼티에 Interceptor의 FQCN을 지정해주면된다. JPA에서는 ''hibernate.ejb.interceptor'' 프라퍼티에 Interceptor의 FQCN을 지정해주면된다.
  
 +
 +  * [[http://www.baeldung.com/hibernate-interceptor|Hibernate Interceptors | Baeldung]]
java/hibernate/interceptor.txt · 마지막으로 수정됨: 2022/05/16 16:37 저자 kwon37xi