BaseRuntime ctx = new BaseRuntime(); ctx.setConnection("default", ctx.getConnection("org.postgresql.Driver", "jdbc:postgresql://localhost/postgres", "user", "password"));