static Connection getTxConnection(DataSource dataSource) throws SQLException {
        Connection conn = TRANSACT_CONN.get();
        if (conn != null) {
            throw new IllegalStateException("Start second transaction in one thread");
        }
        conn = dataSource.getConnection();
        conn.setAutoCommit(false);
        TRANSACT_CONN.set(conn);
        return conn;
    }
@author Robert HG (254963746@qq.com) on 5/20/15.
lts-core/src/main/java/com/github/ltsopensource/store/jdbc/TxConnectionFactory.java