/** * Creates a {@link Connection} with autoCommit set to false. * @throws SQLException */ public Connection getConnection() throws SQLException { Properties props = new Properties(); conn = DriverManager.getConnection(QueryUtil.getUrl(this.conf.get(SERVER_NAME)), props).unwrap(PhoenixConnection.class); conn.setAutoCommit(false); setup(conn); return conn; }
this.jdbcUrl = QueryUtil.getUrl(zookeeperQuorum);