DataBase/JOOQ
[JOOQ] SQL pretty.
PCOSPD 100LRE SCRIE4A2
2021. 5. 17. 16:05
https://www.jooq.org/doc/3.2/manual/sql-building/queryparts/pretty-printing/
Pretty printing SQL
As mentioned in the previous chapter about SQL rendering, there are some elements in the org.jooq.RenderContext that are used for formatting / pretty-printing rendered SQL. In order to obtain pretty-printed SQL, just use the following custom settings:
www.jooq.org

Spring의 webConfig 클래스에 아래와 같이 Bean을 추가 해주면 된다.
