public class ResultSetWrappingSqlRowSetMetaData extends java.lang.Object implements SqlRowSetMetaData
SqlRowSetMetaData interface, wrapping
 a ResultSetMetaData instance, catching any SQLExceptions
 and translating them to a corresponding Spring InvalidResultSetAccessException.
 Used by ResultSetWrappingSqlRowSet.
ResultSetWrappingSqlRowSet.getMetaData()| Constructor and Description | 
|---|
ResultSetWrappingSqlRowSetMetaData(java.sql.ResultSetMetaData resultSetMetaData)
Create a new ResultSetWrappingSqlRowSetMetaData object
 for the given ResultSetMetaData instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getCatalogName(int column)
Retrieve the catalog name of the table that served as the source for the
 specified column. 
 | 
java.lang.String | 
getColumnClassName(int column)
Retrieve the fully qualified class that the specified column will be mapped to. 
 | 
int | 
getColumnCount()
Retrieve the number of columns in the RowSet. 
 | 
int | 
getColumnDisplaySize(int column)
Retrieve the maximum width of the designated column. 
 | 
java.lang.String | 
getColumnLabel(int column)
Retrieve the suggested column title for the column specified. 
 | 
java.lang.String | 
getColumnName(int column)
Retrieve the column name for the indicated column. 
 | 
java.lang.String[] | 
getColumnNames()
Return the column names of the table that the result set represents. 
 | 
int | 
getColumnType(int column)
Retrieve the SQL type code for the indicated column. 
 | 
java.lang.String | 
getColumnTypeName(int column)
Retrieve the DBMS-specific type name for the indicated column. 
 | 
int | 
getPrecision(int column)
Retrieve the precision for the indicated column. 
 | 
int | 
getScale(int column)
Retrieve the scale of the indicated column. 
 | 
java.lang.String | 
getSchemaName(int column)
Retrieve the schema name of the table that served as the source for the
 specified column. 
 | 
java.lang.String | 
getTableName(int column)
Retrieve the name of the table that served as the source for the
 specified column. 
 | 
boolean | 
isCaseSensitive(int column)
Indicate whether the case of the designated column is significant. 
 | 
boolean | 
isCurrency(int column)
Indicate whether the designated column contains a currency value. 
 | 
boolean | 
isSigned(int column)
Indicate whether the designated column contains a signed number. 
 | 
public ResultSetWrappingSqlRowSetMetaData(java.sql.ResultSetMetaData resultSetMetaData)
resultSetMetaData - a disconnected ResultSetMetaData instance
 to wrap (usually a javax.sql.RowSetMetaData instance)ResultSet.getMetaData(), 
RowSetMetaData, 
ResultSetWrappingSqlRowSet.getMetaData()public java.lang.String getCatalogName(int column)
                                throws InvalidResultSetAccessException
SqlRowSetMetaDatagetCatalogName in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getCatalogName(int)public java.lang.String getColumnClassName(int column)
                                    throws InvalidResultSetAccessException
SqlRowSetMetaDatagetColumnClassName in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getColumnClassName(int)public int getColumnCount()
                   throws InvalidResultSetAccessException
SqlRowSetMetaDatagetColumnCount in interface SqlRowSetMetaDataInvalidResultSetAccessExceptionResultSetMetaData.getColumnCount()public java.lang.String[] getColumnNames()
                                  throws InvalidResultSetAccessException
SqlRowSetMetaDatagetColumnNames in interface SqlRowSetMetaDataInvalidResultSetAccessExceptionpublic int getColumnDisplaySize(int column)
                         throws InvalidResultSetAccessException
SqlRowSetMetaDatagetColumnDisplaySize in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getColumnDisplaySize(int)public java.lang.String getColumnLabel(int column)
                                throws InvalidResultSetAccessException
SqlRowSetMetaDatagetColumnLabel in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getColumnLabel(int)public java.lang.String getColumnName(int column)
                               throws InvalidResultSetAccessException
SqlRowSetMetaDatagetColumnName in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getColumnName(int)public int getColumnType(int column)
                  throws InvalidResultSetAccessException
SqlRowSetMetaDatagetColumnType in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getColumnType(int), 
Typespublic java.lang.String getColumnTypeName(int column)
                                   throws InvalidResultSetAccessException
SqlRowSetMetaDatagetColumnTypeName in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getColumnTypeName(int)public int getPrecision(int column)
                 throws InvalidResultSetAccessException
SqlRowSetMetaDatagetPrecision in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getPrecision(int)public int getScale(int column)
             throws InvalidResultSetAccessException
SqlRowSetMetaDatagetScale in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getScale(int)public java.lang.String getSchemaName(int column)
                               throws InvalidResultSetAccessException
SqlRowSetMetaDatagetSchemaName in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getSchemaName(int)public java.lang.String getTableName(int column)
                              throws InvalidResultSetAccessException
SqlRowSetMetaDatagetTableName in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.getTableName(int)public boolean isCaseSensitive(int column)
                        throws InvalidResultSetAccessException
SqlRowSetMetaDataisCaseSensitive in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.isCaseSensitive(int)public boolean isCurrency(int column)
                   throws InvalidResultSetAccessException
SqlRowSetMetaDataisCurrency in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.isCurrency(int)public boolean isSigned(int column)
                 throws InvalidResultSetAccessException
SqlRowSetMetaDataisSigned in interface SqlRowSetMetaDatacolumn - the index of the columnInvalidResultSetAccessExceptionResultSetMetaData.isSigned(int)