Class ResultSetWrapperProxy

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

    @Deprecated
    public class ResultSetWrapperProxy
    extends java.lang.Object
    implements java.lang.reflect.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 Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.sql.ResultSet generateProxy​(java.sql.ResultSet resultSet, ColumnNameCache columnNameCache, ServiceRegistry serviceRegistry)
      Deprecated.
      Generates a proxy wrapping the ResultSet.
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generateProxy

        public static java.sql.ResultSet generateProxy​(java.sql.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.
      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Deprecated.
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable