Hi Lukas, Thank you for this very interesting information.
I would like to understand better how DSLContext and Configuration work together. On 8 April 2017 at 13:00, Lukas Eder <[email protected]> wrote: > You've mentioned caching and reflection. One of the most common bottlenecks > in jOOQ is when you use DSL.using() all the time to implicitly create new > Configuration objects, instead of caching the Configuration object (which > contains a reflection cache for the DefaultRecordMapper). Does this paragraph contradict [1]? Let me ask a few specific questions (about [1]) to make it, hopefully, easier to respond. 1) Why not cache the result of "DSL.using(configuration)" and use that cached version in the second INSERT? Is there a practical difference? 2) In fact, why not re-use "create" and avoid "DSL.using(configuration)" altogether? Is there a practical difference? On a side note, when using injection, the idea is to inject DSLContext, correct? Cheers, Hilco [1] https://www.jooq.org/doc/3.9/manual/sql-execution/transaction-management/ -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
