Fixed major bugs in the JOOQConnection