Package org.hibernate.engine.jdbc
Class ResultSetWrapperProxy
- java.lang.Object
-
- org.hibernate.engine.jdbc.ResultSetWrapperProxy
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
@Deprecated public class ResultSetWrapperProxy extends java.lang.Object implements java.lang.reflect.InvocationHandlerDeprecated.(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 java.sql.ResultSetgenerateProxy(java.sql.ResultSet resultSet, ColumnNameCache columnNameCache, ServiceRegistry serviceRegistry)Deprecated.Generates a proxy wrapping the ResultSet.java.lang.Objectinvoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)Deprecated.
-
-
-
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.ThrowableDeprecated.- Specified by:
invokein interfacejava.lang.reflect.InvocationHandler- Throws:
java.lang.Throwable
-
-