Interface IDBConnectionHandler.ResultSetWrapper

Enclosing interface:
IDBConnectionHandler

public static interface IDBConnectionHandler.ResultSetWrapper
Wrapper class for the JDBC ResultSet. This class provides ony the functions of the ResultSet class that return serializable data types.
  • Method Summary

    Modifier and Type
    Method
    Description
    getBoolean(int col)
    Return the value as a Java Boolean object.
    getByte(int col)
    Return the value as a Java Byte object.
    byte[]
    getBytes(int col)
    Return the value as a Java byte[] object.
    getDouble(int col)
    Return the value as a Java Double object.
    getInt(int col)
    Return the value as a Java Integer object.
    getInteger(int col)
    Return the value as a Java Integer object.
    getLong(int col)
    Return the value as a Java Long object.
    getShort(int col)
    Return the value as a Java Short object.
    getString(int col)
    Return the value as a Java String object.
  • Method Details

    • getBoolean

      Boolean getBoolean(int col) throws Exception
      Return the value as a Java Boolean object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception
    • getByte

      Byte getByte(int col) throws Exception
      Return the value as a Java Byte object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception
    • getShort

      Short getShort(int col) throws Exception
      Return the value as a Java Short object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception
    • getInteger

      Integer getInteger(int col) throws Exception
      Return the value as a Java Integer object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception
    • getInt

      Integer getInt(int col) throws Exception
      Return the value as a Java Integer object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception
    • getLong

      Long getLong(int col) throws Exception
      Return the value as a Java Long object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception
    • getDouble

      Double getDouble(int col) throws Exception
      Return the value as a Java Double object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception
    • getString

      String getString(int col) throws Exception
      Return the value as a Java String object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception
    • getBytes

      byte[] getBytes(int col) throws Exception
      Return the value as a Java byte[] object.
      Parameters:
      col - ResultSet column
      Returns:
      Column value
      Throws:
      Exception