Class ResultSetWrapperProxy

  • All Implemented Interfaces:
    InvocationHandler

    @Deprecated
    public class ResultSetWrapperProxy
    extends Object
    implements InvocationHandler
    Deprecated.
    (since 5.5) Scheduled for removal in 6.0 as ResultSet wrapping is no longer needed
    A proxy for a ResultSet delegate, responsible for locally caching the columnName-to-columnIndex resolution that has been found to be inefficient in a few vendor's drivers (i.e., Oracle and Postgres).
    • Method Detail

      • generateProxy

        public static ResultSet generateProxy​(ResultSet resultSet,
                                              ColumnNameCache columnNameCache,
                                              ServiceRegistry serviceRegistry)
        Deprecated.
        Generates a proxy wrapping the ResultSet.
        Parameters:
        resultSet - The resultSet to wrap.
        columnNameCache - The cache storing data for converting column names to column indexes.
        serviceRegistry - Access to any needed services
        Returns:
        The generated proxy.