Class ResultSetWrappingSqlRowSetMetaData

java.lang.Object
org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData
All Implemented Interfaces:
SqlRowSetMetaData

public class ResultSetWrappingSqlRowSetMetaData extends Object implements SqlRowSetMetaData
The default implementation of Spring's SqlRowSetMetaData interface, wrapping a ResultSetMetaData instance, catching any SQLExceptions and translating them to a corresponding Spring InvalidResultSetAccessException.

Used by ResultSetWrappingSqlRowSet.

Since:
1.2
Author:
Thomas Risberg, Juergen Hoeller
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new ResultSetWrappingSqlRowSetMetaData object for the given ResultSetMetaData instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    getCatalogName(int column)
    Retrieve the catalog name of the table that served as the source for the specified column.
    getColumnClassName(int column)
    Retrieve the fully qualified class that the specified column will be mapped to.
    int
    Retrieve the number of columns in the RowSet.
    int
    Retrieve the maximum width of the designated column.
    getColumnLabel(int column)
    Retrieve the suggested column title for the column specified.
    getColumnName(int column)
    Retrieve the column name for the indicated column.
    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.
    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.
    getSchemaName(int column)
    Retrieve the schema name of the table that served as the source for the specified column.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait