Deprecated
(since 5.5) Scheduled for removal in 6.0 as ResultSet wrapping is no longer needed
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ColumnNameCache | columnNameCache
Deprecated
as a consequence of
ColumnNameCache being deprecated.
|
| private static final CoreMessageLogger | |
| private static final Map | |
| private final ResultSet | |
| private static final SqlExceptionHelper |
| Access | Constructor and Description |
|---|---|
| private | ResultSetWrapperProxy(ResultSet rs, ColumnNameCache columnNameCache)
Deprecated
as a consequence of
ColumnNameCache being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private Object[] | |
| private Integer | Returns: The column index corresponding to the given column name.The column name to resolve into an index. columnName)Locate the column index corresponding to the given column name via the cache. |
| public static ResultSet | Returns: The generated proxy.The resultSet to wrap. resultSet, ColumnNameCache The cache storing data for converting column names to column indexes. columnNameCache, ServiceRegistry Access to any needed services serviceRegistry)
Deprecated
as a consequence of
Generates a proxy wrapping the ResultSet.
ColumnNameCache being deprecated.
|
| public Object | invoke(Object
the proxy instance that the method was invoked on proxy, Method the method, Object[] Method instance corresponding to
the interface method invoked on the proxy instance. The declaring
class of the Method object will be the interface that
the method was declared in, which may be a superinterface of the
proxy interface that the proxy class inherits the method through.an array of objects containing the values of the
arguments passed in the method invocation on the proxy instance,
or args)null if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer or java.lang.Boolean.Implements java. |
| private Object | |
| private static boolean | |
| private static Method | Returns: The corresponding method passed the column index.The method passed the column name columnNameMethod)For a given |
| columnNameCache | back to summary |
|---|---|
| private final ColumnNameCache columnNameCache
Deprecated as a consequence of | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| NAME_TO_INDEX_METHOD_MAPPING | back to summary |
|---|---|
| private static final Map<ResultSetWrapperProxy. | |
| rs | back to summary |
|---|---|
| private final ResultSet rs | |
| SQL_EXCEPTION_HELPER | back to summary |
|---|---|
| private static final SqlExceptionHelper SQL_EXCEPTION_HELPER | |
| ResultSetWrapperProxy | back to summary |
|---|---|
| private ResultSetWrapperProxy(ResultSet rs, ColumnNameCache columnNameCache)
Deprecated as a consequence of | |
| buildColumnIndexMethodArgs | back to summary |
|---|---|
| private Object[] buildColumnIndexMethodArgs(Object[] incomingArgs, Integer columnIndex) | |
| findColumn | back to summary |
|---|---|
| private Integer findColumn(String columnName) throws SQLException Locate the column index corresponding to the given column name via the cache.
| |
| generateProxy | back to summary |
|---|---|
| public static ResultSet generateProxy(ResultSet resultSet, ColumnNameCache columnNameCache, ServiceRegistry serviceRegistry)
Deprecated as a consequence of Generates a proxy wrapping the ResultSet.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object proxy, Method method, Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |
| invokeMethod | back to summary |
|---|---|
| private Object invokeMethod(Method method, Object[] args) throws Throwable | |
| isFirstArgColumnLabel | back to summary |
|---|---|
| private static boolean isFirstArgColumnLabel(Method method) | |
| locateCorrespondingColumnIndexMethod | back to summary |
|---|---|
| private static Method locateCorrespondingColumnIndexMethod(Method columnNameMethod) throws NoSuchMethodException For a given
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int |
| methodName | back to summary |
|---|---|
| private String methodName | |
| parameterTypes | back to summary |
|---|---|
| private Class<?>[] parameterTypes | |
| ResultSetMethodKey | back to summary |
|---|---|
| public ResultSetMethodKey(String methodName, Class<?>[] parameterTypes) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |