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