Interface SQLStatementIF

All Known Implementing Classes:
SQLStatement

public interface SQLStatementIF
INTERNAL: Represents a concrete SQL query.
  • Method Details

    • setObjectAccess

      void setObjectAccess(ObjectAccessIF oaccess)
    • setAccessRegistrar

      void setAccessRegistrar(AccessRegistrarIF registrar)
    • getTicket

      TicketIF getTicket()
    • getWidth

      int getWidth()
      INTERNAL: Returns the number of fields that will be selected by the statement.
    • executeQuery

      ResultSet executeQuery(Connection conn) throws Exception
      INTERNAL: Execute the statement without any parameters and return a JDBC result set.
      Throws:
      Exception
    • executeQuery

      ResultSet executeQuery(Connection conn, Object[] params) throws Exception
      INTERNAL: Execute the statement with parameters and return a JDBC result set.
      Throws:
      Exception
    • executeQuery

      ResultSet executeQuery(Connection conn, Map params) throws Exception
      INTERNAL: Execute the statement with parameters and return a JDBC result set.
      Throws:
      Exception
    • readValue

      Object readValue(TicketIF ticket, ResultSet rs, int index, boolean lookup_identities) throws Exception
      INTERNAL: Read the field value of the specified index from the current row in the result set.

      If the field is an identity field or a reference field, the object identity will be extracted and the identity will be used to look up the object in the transaction.

      Throws:
      Exception
    • readValues

      Object[] readValues(TicketIF ticket, ResultSet rs, Object[] values, boolean lookup_identities) throws Exception
      INTERNAL: Reads all the field values from the current row into the specified value array. Note that this array must have a width that is equal or greater than the width of the result.

      Throws:
      Exception
    • readValues

      Object[] readValues(TicketIF ticket, ResultSet rs, boolean lookup_identities) throws Exception
      INTERNAL: Reads all the field values from the current row in the result set.

      Throws:
      Exception