Class SelectKeyStatement


public class SelectKeyStatement extends SelectStatement
The Class SelectKeyStatement.
  • Constructor Details

    • SelectKeyStatement

      public SelectKeyStatement()
  • Method Details

    • getKeyProperty

      public String getKeyProperty()
      Gets the key property.
      Returns:
      the key property
    • setKeyProperty

      public void setKeyProperty(String keyProperty)
      Sets the key property.
      Parameters:
      keyProperty - the new key property
    • isRunAfterSQL

      public boolean isRunAfterSQL()
      Checks if is run after SQL.
      Returns:
      true, if is run after SQL
    • setRunAfterSQL

      public void setRunAfterSQL(boolean runAfterSQL)
      Sets the run after SQL.
      Parameters:
      runAfterSQL - the new run after SQL
    • executeQueryForList

      public List executeQueryForList(StatementScope statementScope, Transaction trans, Object parameterObject, int skipResults, int maxResults) throws SQLException
      Description copied from class: MappedStatement
      Execute query for list.
      Overrides:
      executeQueryForList in class MappedStatement
      Parameters:
      statementScope - the statement scope
      trans - the trans
      parameterObject - the parameter object
      skipResults - the skip results
      maxResults - the max results
      Returns:
      the list
      Throws:
      SQLException - the SQL exception
    • executeQueryWithRowHandler

      public void executeQueryWithRowHandler(StatementScope statementScope, Transaction trans, Object parameterObject, RowHandler rowHandler) throws SQLException
      Description copied from class: MappedStatement
      Execute query with row handler.
      Overrides:
      executeQueryWithRowHandler in class MappedStatement
      Parameters:
      statementScope - the statement scope
      trans - the trans
      parameterObject - the parameter object
      rowHandler - the row handler
      Throws:
      SQLException - the SQL exception