On Thu, Oct 4, 2018 at 1:55 PM michael.may.2085 via jOOQ User Group < [email protected]> wrote:
> Hello Guys :) > Hi Michael I'm new and still testing jOOQ how I can use it in the best way. > Welcome! > *1) *Is it intended that a CRUD insert also creates a select statement > after the insert? (*MariaDB.log* - red marked line) I personally would > say it's overhead especially because the update statement don't do that, > but what do say the professionals? > No, that's a known issue. I cannot seem to find the issue number on Github, but it should definitely be fixed > *2)* Is there any way to eliminate the "set autocommit" line? I want to > disable auto commit at all but don't found any option. > The jOOQ transaction API resets the autocommit flag after the transaction to its previous value. That's what users would expect. After all, you're in charge of your JDBC connection and its different flags, and pass that to jOOQ, expecting it to be returned from jOOQ in the same state as you passed it. So, you'll have to configure the autocommit flag to be false yourself. Hope this helps, Lukas -- 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.
