사용자 도구

사이트 도구


java:jooq

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
java:jooq [2017/12/27 08:04]
kwon37xi [Type Converting]
java:jooq [2018/11/07 13:20] (현재)
kwon37xi [Spring AOP 사용시 성능 저하]
줄 6: 줄 6:
  
 ===== jOOQ With Spring ===== ===== jOOQ With Spring =====
 +  * [[https://www.baeldung.com/spring-boot-support-for-jooq|Spring Boot Support for jOOQ | Baeldung]]
   * [[http://www.javacodegeeks.com/?p=20557|Using jOOQ with Spring: Configuration]]   * [[http://www.javacodegeeks.com/?p=20557|Using jOOQ with Spring: Configuration]]
   * [[https://github.com/jOOQ/jOOQ/tree/master/jOOQ-examples/jOOQ-spring-example|jOOQ Spring Example]], [[http://www.baeldung.com/jooq-with-spring|jOOQ with Spring]]   * [[https://github.com/jOOQ/jOOQ/tree/master/jOOQ-examples/jOOQ-spring-example|jOOQ Spring Example]], [[http://www.baeldung.com/jooq-with-spring|jOOQ with Spring]]
줄 21: 줄 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''를 포인트컷에서 제외시킬 것.
 +
 +> 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로 실행하기
줄 26: 줄 36:
   * [[http://blog.jooq.org/tag/freemarker/|Freemarker | Java, SQL and jOOQ.]]   * [[http://blog.jooq.org/tag/freemarker/|Freemarker | Java, SQL and jOOQ.]]
   * [[https://blog.jooq.org/2017/08/24/jooq-3-10-supports-jpa-attributeconverter/|jOOQ 3.10 Supports JPA AttributeConverter – Java, SQL and jOOQ.]]   * [[https://blog.jooq.org/2017/08/24/jooq-3-10-supports-jpa-attributeconverter/|jOOQ 3.10 Supports JPA AttributeConverter – Java, SQL and jOOQ.]]
 +  * [[https://blog.jooq.org/2018/01/12/top-5-hidden-jooq-features/|Top 5 Hidden jOOQ Features – Java, SQL and jOOQ.]]
 +  * [[https://blog.jooq.org/2018/03/13/top-10-sql-dialect-emulations-implemented-in-jooq/|Top 10 SQL Dialect Emulations Implemented in jOOQ – Java, SQL and jOOQ.]]
 +  * [[https://www.petrikainulainen.net/programming/jooq/jooq-tips-implementing-a-read-only-one-to-many-relationship/|jOOQ Tips: Implementing a Read-Only One-to-Many Relationship]]
java/jooq.1514331270.txt.gz · 마지막으로 수정됨: 2017/12/27 08:04 저자 kwon37xi