|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.engine.jdbc.ResultSetWrapperProxy
public class ResultSetWrapperProxy
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 | |
---|---|
static ResultSet |
generateProxy(ResultSet resultSet,
ColumnNameCache columnNameCache)
Generates a proxy wrapping the ResultSet. |
static ClassLoader |
getProxyClassLoader()
Determines the appropriate class loader to which the generated proxy should be scoped. |
Object |
invoke(Object proxy,
Method method,
Object[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ResultSet generateProxy(ResultSet resultSet, ColumnNameCache columnNameCache)
resultSet
- The resultSet to wrap.columnNameCache
- The cache storing data for converting column names to column indexes.
public static ClassLoader getProxyClassLoader()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |