org.apache.commons.dbcp2

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.

    Since:
    2.0

Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.