@@ -0,0 +1,981 @@
+package org.labkey.dbutils.jooq;%0A%0Aimport org.jooq.DSLContext;%0Aimport org.jooq.SQLDialect;%0Aimport org.jooq.impl.DSL;%0Aimport org.labkey.api.data.DbSchema;%0Aimport org.labkey.api.data.DbScope;%0A%0Aimport java.sql.Connection;%0Aimport java.sql.SQLException;%0A%0A/**%0A * Created by jon on 11/12/16.%0A */%0Apublic class jOOQConnection implements AutoCloseable %7B%0A    private final DSLContext _context;%0A    private Connection _connection;%0A    private DbScope _scope;%0A%0A    public jOOQConnection(String dbSchemaName) %7B%0A        this._scope = DbSchema.get(dbSchemaName).getScope();%0A        this._connection = null;%0A        try %7B%0A            this._connection = this._scope.getConnection();%0A        %7D%0A        catch (SQLException e) %7B%0A            e.printStackTrace();%0A        %7D%0A%0A        _context = DSL.using(_connection, SQLDialect.POSTGRES);%0A    %7D%0A%0A    public DSLContext create() %7B%0A        return _context;%0A    %7D%0A%0A    @Override%0A    public void close() %7B%0A        _scope.releaseConnection(_connection);%0A    %7D%0A%7D

Add jOOQConnection to allow jOOQ access to postgres.