Package org.hibernate.engine.jdbc
Class ResultSetWrapperProxy
- java.lang.Object
-
- org.hibernate.engine.jdbc.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 neededA 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 ResultSetgenerateProxy(ResultSet resultSet, ColumnNameCache columnNameCache, ServiceRegistry serviceRegistry)Deprecated.Generates a proxy wrapping the ResultSet.Objectinvoke(Object proxy, Method method, Object[] args)Deprecated.
-
-
-
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.
-
-