Class ResultSetWrapper

    • Method Detail

      • newInstance

        public static final ResultSet newInstance​(Connection con,
                                                  Statement stmt,
                                                  ResultSet rs)
        Creates a new ResultSet proxy which closes the given Connection and Statement if it is closed.
        Parameters:
        con - the associated Connection
        stmt - the associated Statement
        rs - the ResultSet which backs the proxy
        Returns:
        a ResultSet proxy