类 net.hasor.jdbc.exceptions.InvalidDataAccessException
的使用

使用 InvalidDataAccessException 的软件包
net.hasor.jdbc Hasor Jdbc Operations. 
net.hasor.jdbc.core.rowset   
net.hasor.jdbc.exceptions   
 

net.hasor.jdbcInvalidDataAccessException 的使用
 

抛出 InvalidDataAccessExceptionnet.hasor.jdbc 中的方法
 boolean SqlRowSet.absolute(int row)
          Moves the cursor to the given row number in the RowSet, just after the last row.
 void SqlRowSet.afterLast()
          Moves the cursor to the end of this RowSet.
 void SqlRowSet.beforeFirst()
          Moves the cursor to the front of this RowSet, just before the first row.
 int SqlRowSet.findColumn(String columnName)
          Maps the given column name to its column index.
 boolean SqlRowSet.first()
          Moves the cursor to the first row of this RowSet.
 BigDecimal SqlRowSet.getBigDecimal(int columnIndex)
          Retrieves the value of the indicated column in the current row as an BigDecimal object.
 BigDecimal SqlRowSet.getBigDecimal(String columnName)
          Retrieves the value of the indicated column in the current row as an BigDecimal object.
 boolean SqlRowSet.getBoolean(int columnIndex)
          Retrieves the value of the indicated column in the current row as a boolean.
 boolean SqlRowSet.getBoolean(String columnName)
          Retrieves the value of the indicated column in the current row as a boolean.
 byte SqlRowSet.getByte(int columnIndex)
          Retrieves the value of the indicated column in the current row as a byte.
 byte SqlRowSet.getByte(String columnName)
          Retrieves the value of the indicated column in the current row as a byte.
 String SqlRowSetMetaData.getCatalogName(int columnIndex)
          Retrieves the catalog name of the table that served as the source for the specified column.
 String SqlRowSetMetaData.getColumnClassName(int columnIndex)
          Retrieves the fully qualified class that the specified column will be mapped to.
 int SqlRowSetMetaData.getColumnCount()
          Retrives the number of columns in the RowSet.
 int SqlRowSetMetaData.getColumnDisplaySize(int columnIndex)
          Retrieves the maximum width of the designated column.
 String SqlRowSetMetaData.getColumnLabel(int columnIndex)
          Retrieve the suggested column title for the column specified.
 String SqlRowSetMetaData.getColumnName(int columnIndex)
          Retrieve the column name for the indicated column.
 String[] SqlRowSetMetaData.getColumnNames()
          Return the column names of the table that the result set represents.
 int SqlRowSetMetaData.getColumnType(int columnIndex)
          Retrieve the SQL type code for the indicated column.
 String SqlRowSetMetaData.getColumnTypeName(int columnIndex)
          Retrieves the DBMS-specific type name for the indicated column.
 Date SqlRowSet.getDate(int columnIndex)
          Retrieves the value of the indicated column in the current row as a Date object.
 Date SqlRowSet.getDate(int columnIndex, Calendar cal)
          Retrieves the value of the indicated column in the current row as a Date object.
 Date SqlRowSet.getDate(String columnName)
          Retrieves the value of the indicated column in the current row as a Date object.
 Date SqlRowSet.getDate(String columnName, Calendar cal)
          Retrieves the value of the indicated column in the current row as a Date object.
 double SqlRowSet.getDouble(int columnIndex)
          Retrieves the value of the indicated column in the current row as a Double object.
 double SqlRowSet.getDouble(String columnName)
          Retrieves the value of the indicated column in the current row as a Double object.
 float SqlRowSet.getFloat(int columnIndex)
          Retrieves the value of the indicated column in the current row as a float.
 float SqlRowSet.getFloat(String columnName)
          Retrieves the value of the indicated column in the current row as a float.
 int SqlRowSet.getInt(int columnIndex)
          Retrieves the value of the indicated column in the current row as an int.
 int SqlRowSet.getInt(String columnName)
          Retrieves the value of the indicated column in the current row as an int.
 long SqlRowSet.getLong(int columnIndex)
          Retrieves the value of the indicated column in the current row as a long.
 long SqlRowSet.getLong(String columnName)
          Retrieves the value of the indicated column in the current row as a long.
 Object SqlRowSet.getObject(int columnIndex)
          Retrieves the value of the indicated column in the current row as an Object.
 Object SqlRowSet.getObject(int columnIndex, Map map)
          Retrieves the value of the indicated column in the current row as an Object.
 Object SqlRowSet.getObject(String columnName)
          Retrieves the value of the indicated column in the current row as an Object.
 Object SqlRowSet.getObject(String columnName, Map map)
          Retrieves the value of the indicated column in the current row as an Object.
 int SqlRowSetMetaData.getPrecision(int columnIndex)
          Retrieves the precision for the indicated column.
 int SqlRowSet.getRow()
          Retrieves the current row number.
 int SqlRowSetMetaData.getScale(int columnIndex)
          Retrieves the scale of the indicated column.
 String SqlRowSetMetaData.getSchemaName(int columnIndex)
          Retrieves the schema name of the table that served as the source for the specified column.
 short SqlRowSet.getShort(int columnIndex)
          Retrieves the value of the indicated column in the current row as a short.
 short SqlRowSet.getShort(String columnName)
          Retrieves the value of the indicated column in the current row as a short.
 String SqlRowSet.getString(int columnIndex)
          Retrieves the value of the indicated column in the current row as a String.
 String SqlRowSet.getString(String columnName)
          Retrieves the value of the indicated column in the current row as a String.
 String SqlRowSetMetaData.getTableName(int columnIndex)
          Retrieves the name of the table that served as the source for the specified column.
 Time SqlRowSet.getTime(int columnIndex)
          Retrieves the value of the indicated column in the current row as a Time object.
 Time SqlRowSet.getTime(int columnIndex, Calendar cal)
          Retrieves the value of the indicated column in the current row as a Time object.
 Time SqlRowSet.getTime(String columnName)
          Retrieves the value of the indicated column in the current row as a Time object.
 Time SqlRowSet.getTime(String columnName, Calendar cal)
          Retrieves the value of the indicated column in the current row as a Time object.
 Timestamp SqlRowSet.getTimestamp(int columnIndex)
          Retrieves the value of the indicated column in the current row as a Timestamp object.
 Timestamp SqlRowSet.getTimestamp(int columnIndex, Calendar cal)
          Retrieves the value of the indicated column in the current row as a Timestamp object.
 Timestamp SqlRowSet.getTimestamp(String columnName)
          Retrieves the value of the indicated column in the current row as a Timestamp object.
 Timestamp SqlRowSet.getTimestamp(String columnName, Calendar cal)
          Retrieves the value of the indicated column in the current row as a Timestamp object.
 boolean SqlRowSet.isAfterLast()
          Retrieves whether the cursor is after the last row of this RowSet.
 boolean SqlRowSet.isBeforeFirst()
          Retrieves whether the cursor is after the first row of this RowSet.
 boolean SqlRowSetMetaData.isCaseSensitive(int columnIndex)
          Indicates whether the case of the designated column is significant.
 boolean SqlRowSetMetaData.isCurrency(int columnIndex)
          Indicates whether the designated column contains a currency value.
 boolean SqlRowSet.isFirst()
          Retrieves whether the cursor is on the first row of this RowSet.
 boolean SqlRowSet.isLast()
          Retrieves whether the cursor is on the last row of this RowSet.
 boolean SqlRowSetMetaData.isSigned(int columnIndex)
          Indicates whether the designated column contains a signed number.
 boolean SqlRowSet.last()
          Moves the cursor to the last row of this RowSet.
 boolean SqlRowSet.next()
          Moves the cursor to the next row.
 boolean SqlRowSet.previous()
          Moves the cursor to the previous row.
 boolean SqlRowSet.relative(int rows)
          Moves the cursor a relative number f rows, either positive or negative.
 boolean SqlRowSet.wasNull()
          Reports whether the last column read had a value of SQL NULL.
 

net.hasor.jdbc.core.rowsetInvalidDataAccessException 的使用
 

抛出 InvalidDataAccessExceptionnet.hasor.jdbc.core.rowset 中的方法
 boolean ResultSetWrappingSqlRowSet.absolute(int row)
           
 void ResultSetWrappingSqlRowSet.afterLast()
           
 void ResultSetWrappingSqlRowSet.beforeFirst()
           
 int ResultSetWrappingSqlRowSet.findColumn(String columnName)
           
 boolean ResultSetWrappingSqlRowSet.first()
           
 BigDecimal ResultSetWrappingSqlRowSet.getBigDecimal(int columnIndex)
           
 BigDecimal ResultSetWrappingSqlRowSet.getBigDecimal(String columnName)
           
 boolean ResultSetWrappingSqlRowSet.getBoolean(int columnIndex)
           
 boolean ResultSetWrappingSqlRowSet.getBoolean(String columnName)
           
 byte ResultSetWrappingSqlRowSet.getByte(int columnIndex)
           
 byte ResultSetWrappingSqlRowSet.getByte(String columnName)
           
 String ResultSetWrappingSqlRowSetMetaData.getCatalogName(int column)
           
 String ResultSetWrappingSqlRowSetMetaData.getColumnClassName(int column)
           
 int ResultSetWrappingSqlRowSetMetaData.getColumnCount()
           
 int ResultSetWrappingSqlRowSetMetaData.getColumnDisplaySize(int column)
           
 String ResultSetWrappingSqlRowSetMetaData.getColumnLabel(int column)
           
 String ResultSetWrappingSqlRowSetMetaData.getColumnName(int column)
           
 String[] ResultSetWrappingSqlRowSetMetaData.getColumnNames()
           
 int ResultSetWrappingSqlRowSetMetaData.getColumnType(int column)
           
 String ResultSetWrappingSqlRowSetMetaData.getColumnTypeName(int column)
           
 Date ResultSetWrappingSqlRowSet.getDate(int columnIndex)
           
 Date ResultSetWrappingSqlRowSet.getDate(int columnIndex, Calendar cal)
           
 Date ResultSetWrappingSqlRowSet.getDate(String columnName)
           
 Date ResultSetWrappingSqlRowSet.getDate(String columnName, Calendar cal)
           
 double ResultSetWrappingSqlRowSet.getDouble(int columnIndex)
           
 double ResultSetWrappingSqlRowSet.getDouble(String columnName)
           
 float ResultSetWrappingSqlRowSet.getFloat(int columnIndex)
           
 float ResultSetWrappingSqlRowSet.getFloat(String columnName)
           
 int ResultSetWrappingSqlRowSet.getInt(int columnIndex)
           
 int ResultSetWrappingSqlRowSet.getInt(String columnName)
           
 long ResultSetWrappingSqlRowSet.getLong(int columnIndex)
           
 long ResultSetWrappingSqlRowSet.getLong(String columnName)
           
 Object ResultSetWrappingSqlRowSet.getObject(int columnIndex)
           
 Object ResultSetWrappingSqlRowSet.getObject(int i, Map map)
           
 Object ResultSetWrappingSqlRowSet.getObject(String columnName)
           
 Object ResultSetWrappingSqlRowSet.getObject(String columnName, Map map)
           
 int ResultSetWrappingSqlRowSetMetaData.getPrecision(int column)
           
 int ResultSetWrappingSqlRowSet.getRow()
           
 int ResultSetWrappingSqlRowSetMetaData.getScale(int column)
           
 String ResultSetWrappingSqlRowSetMetaData.getSchemaName(int column)
           
 short ResultSetWrappingSqlRowSet.getShort(int columnIndex)
           
 short ResultSetWrappingSqlRowSet.getShort(String columnName)
           
 String ResultSetWrappingSqlRowSet.getString(int columnIndex)
           
 String ResultSetWrappingSqlRowSet.getString(String columnName)
           
 String ResultSetWrappingSqlRowSetMetaData.getTableName(int column)
           
 Time ResultSetWrappingSqlRowSet.getTime(int columnIndex)
           
 Time ResultSetWrappingSqlRowSet.getTime(int columnIndex, Calendar cal)
           
 Time ResultSetWrappingSqlRowSet.getTime(String columnName)
           
 Time ResultSetWrappingSqlRowSet.getTime(String columnName, Calendar cal)
           
 Timestamp ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex)
           
 Timestamp ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex, Calendar cal)
           
 Timestamp ResultSetWrappingSqlRowSet.getTimestamp(String columnName)
           
 Timestamp ResultSetWrappingSqlRowSet.getTimestamp(String columnName, Calendar cal)
           
 boolean ResultSetWrappingSqlRowSet.isAfterLast()
           
 boolean ResultSetWrappingSqlRowSet.isBeforeFirst()
           
 boolean ResultSetWrappingSqlRowSetMetaData.isCaseSensitive(int column)
           
 boolean ResultSetWrappingSqlRowSetMetaData.isCurrency(int column)
           
 boolean ResultSetWrappingSqlRowSet.isFirst()
           
 boolean ResultSetWrappingSqlRowSet.isLast()
           
 boolean ResultSetWrappingSqlRowSetMetaData.isSigned(int column)
           
 boolean ResultSetWrappingSqlRowSet.last()
           
 boolean ResultSetWrappingSqlRowSet.next()
           
 boolean ResultSetWrappingSqlRowSet.previous()
           
 boolean ResultSetWrappingSqlRowSet.relative(int rows)
           
 boolean ResultSetWrappingSqlRowSet.wasNull()
           
 

抛出 InvalidDataAccessExceptionnet.hasor.jdbc.core.rowset 中的构造方法
ResultSetWrappingSqlRowSet(ResultSet resultSet)
          Create a new ResultSetWrappingSqlRowSet for the given ResultSet.
 

net.hasor.jdbc.exceptionsInvalidDataAccessException 的使用
 

net.hasor.jdbc.exceptionsInvalidDataAccessException 的子类
 class TypeMismatchDataAccessException
          Exception thrown on mismatch between Java type and database type: for example on an attempt to set an object of the wrong type in an RDBMS column.
 



Copyright © 2013-2014. All Rights Reserved.