Class SQLUpdateAllStatement

All Implemented Interfaces:
Serializable, Cloneable

public class SQLUpdateAllStatement extends SQLModifyStatement
Since:
TOPLink/Java 1.0
See Also:
  • Field Details

    • m_updateClauses

      protected HashMap m_updateClauses
    • databaseFieldsToTableAliases

      protected HashMap databaseFieldsToTableAliases
    • selectCallForExist

      protected SQLCall selectCallForExist
    • tableAliasInSelectCallForExist

      protected String tableAliasInSelectCallForExist
    • primaryKeyFields

      protected Collection primaryKeyFields
    • shouldExtractWhereClauseFromSelectCallForExist

      protected boolean shouldExtractWhereClauseFromSelectCallForExist
  • Constructor Details

    • SQLUpdateAllStatement

      public SQLUpdateAllStatement()
  • Method Details

    • setSelectCallForExist

      public void setSelectCallForExist(SQLCall selectCallForExist)
    • getSelectCallForExist

      public SQLCall getSelectCallForExist()
    • setTableAliasInSelectCallForExist

      public void setTableAliasInSelectCallForExist(String tableAliasInSelectCallForExist)
    • getTableAliasInSelectCallForExist

      public String getTableAliasInSelectCallForExist()
    • setPrimaryKeyFieldsForAutoJoin

      public void setPrimaryKeyFieldsForAutoJoin(Collection primaryKeyFields)
    • getPrimaryKeyFieldsForAutoJoin

      public Collection getPrimaryKeyFieldsForAutoJoin()
    • setUpdateClauses

      public void setUpdateClauses(HashMap updateClauses)
    • getUpdateClauses

      public HashMap getUpdateClauses()
    • setDatabaseFieldsToTableAliases

      public void setDatabaseFieldsToTableAliases(HashMap databaseFieldsToTableAliases)
    • getDatabaseFieldsToTableAliases

      public HashMap getDatabaseFieldsToTableAliases()
    • setShouldExtractWhereClauseFromSelectCallForExist

      public void setShouldExtractWhereClauseFromSelectCallForExist(boolean shouldExtractWhereClauseFromSelectCallForExist)
    • shouldExtractWhereClauseFromSelectCallForExist

      public boolean shouldExtractWhereClauseFromSelectCallForExist()
    • buildCall

      public DatabaseCall buildCall(AbstractSession session)
      Append the string containing the SQL insert string for the given table.
      Overrides:
      buildCall in class SQLModifyStatement
    • buildSimple

      protected SQLCall buildSimple(AbstractSession session)
    • writeSelect

      protected void writeSelect(Writer writer, SQLCall selectCall, String tableAliasInSelectCall, SQLCall call, DatasourcePlatform platform) throws IOException
      Throws:
      IOException
    • writeWhere

      protected boolean writeWhere(Writer writer, SQLCall selectCall, SQLCall call) throws IOException
      Throws:
      IOException