문서의 이전 판입니다!
org.jooq.tools.JooqLogger
에 대해 DEBUG
레벨로 로그를 남기면 jooq 가 생성한 쿼리와 바인딩, 결과를 로그로 볼 수 있다.javaTimestamp = true
옵션으로 시간 컬럼을 Java 8 JSR-310 API로 생성할 수 있다.generate([:]) { // ... javaTimeTypes true }
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.