Class DelegatingResultSet

  • All Implemented Interfaces:
    AutoCloseable, ResultSet, Wrapper, TrackedUse

    public final class DelegatingResultSet
    extends AbandonedTrace
    implements ResultSet
    A base delegating implementation of ResultSet.

    All of the methods from the ResultSet interface simply call the corresponding method on the "delegate" provided in my constructor.

    Extends AbandonedTrace to implement result set tracking and logging of code which created the ResultSet. Tracking the ResultSet ensures that the Statement which created it can close any open ResultSet's on Statement close.