Package groovy.sql

Class GroovyResultSetProxy

  • All Implemented Interfaces:
    InvocationHandler

    public final class GroovyResultSetProxy
    extends Object
    implements InvocationHandler
    GroovyResultSetProxy is used to create a proxy for GroovyResultSet. Due to the version incompatibility between java 6 and older versions methods with additional logic were moved into an extension class. When getting properties or calling methods, the runtime will try to first execute these on the extension and then on the ResultSet itself. This way it is possible to replace and add methods. To overload methods from ResultSet all methods have to be implemented on the extension class.