|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.table.ResultSetProxy
public class ResultSetProxy
A proxy ResultSet class to return the proxy ResultSetMetaDataProxy to protect against compatibility issues between
JDBC standard and SQL standard on number fields declared without
precision.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Method Summary | |
|---|---|
static ResultSet |
createResultSet(ResultSet resultSet)
Returns a proxy result set which returns a proxy ResultSetMetaData object to handle imprecisely defined number
columns |
Object |
invoke(Object proxy,
Method method,
Object[] parameters)
The InvocationHandler implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResultSet createResultSet(ResultSet resultSet)
ResultSetMetaData object to handle imprecisely defined number
columns
resultSet - The result set that is to be proxied.
public Object invoke(Object proxy,
Method method,
Object[] parameters)
throws SQLException
InvocationHandler implementation. Passes
through to resultSet except for invocation of the ResultSet.getMetaData() method which returns the proxy
ResultSetMetaDataProxy class.
invoke in interface InvocationHandlerproxy - This proxy instance.method - The method that is to be executed.parameters - The parameters to pass to the method.
SQLException - If errors are encountered while invoking the method.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||