사용자 도구

사이트 도구


java:jooq

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판 양쪽 다음 판
java:jooq [2018/08/24 14:56]
kwon37xi [jOOQ With Spring]
java:jooq [2018/11/07 13:19]
kwon37xi
줄 22: 줄 22:
 } }
 </code> </code>
 +
 +===== Spring AOP 사용시 성능 저하 =====
 +  * [[https://github.com/jOOQ/jOOQ/issues/5902|jOOQ,spring-boot and aop. · Issue #5902 · jOOQ/jOOQ]]
 +  * 결론, ''execution'' 포인트컷 사용이 ''DefaultDSLContext''의 모든 메소드를 적용하는 현상.
 +  * ''within''으로 변경시 문제 없음. 혹은, ''DefaultDSLContext''를 포인트컷에서 제외시킬 것.
 +> I just solved this same problem. and I think it's a bug with aspectjweaver.
 +For some reason, the method couldMatchJoinPointsInType of org.aspectj.weaver.internal.tools.PointcutExpressionImpl return true when using a pointcut with execution, and because of this every method of DefaultDSLContext is checked to see if the pointcut can be applied to the methods.
 +> Using within instead of execution solves the problem.
 +
 ===== 참조 ===== ===== 참조 =====
   * [[http://blog.jooq.org/2015/05/26/type-safe-queries-for-jpas-native-query-api/|Type Safe Queries for JPA’s Native Query API with JOOQ]] : jOOQ로 Native Query를 생성하고 그것을 JPA EntityManager로 실행하기   * [[http://blog.jooq.org/2015/05/26/type-safe-queries-for-jpas-native-query-api/|Type Safe Queries for JPA’s Native Query API with JOOQ]] : jOOQ로 Native Query를 생성하고 그것을 JPA EntityManager로 실행하기
java/jooq.txt · 마지막으로 수정됨: 2018/11/07 13:20 저자 kwon37xi