类 ResultSetWrapperProxy

  • 所有已实现的接口:
    InvocationHandler

    public class ResultSetWrapperProxy
    extends Object
    implements InvocationHandler
    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).
    作者:
    Steve Ebersole, Gail Badner
    • 方法详细资料

      • generateProxy

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