@Override
    public void customizeJdbi(Jdbi db) {

        // support for generated classes (jdbi-generator)
        GeneratorSqlObjectFactory generatorSqlObjectFactory = new GeneratorSqlObjectFactory();
        db.registerExtension(generatorSqlObjectFactory);
        db.getConfig(OnDemandExtensions.class).setFactory(generatorSqlObjectFactory);

        // register SQL object proxy factory
        db.registerExtension(new SqlObjectFactory());

        db.getConfig(SqlObjectStatementConfiguration.class);
    }
Plugin that installs the SqlObject extension.
sqlobject/src/main/java/org/jdbi/v3/sqlobject/SqlObjectPlugin.java