Module org.eclipse.persistence.core
Class SQLUpdateAllStatement
java.lang.Object
org.eclipse.persistence.internal.expressions.SQLStatement
org.eclipse.persistence.internal.expressions.SQLModifyStatement
org.eclipse.persistence.internal.expressions.SQLUpdateAllStatement
- All Implemented Interfaces:
Serializable
,Cloneable
- Since:
- TOPLink/Java 1.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected HashMap
protected HashMap
protected Collection
protected SQLCall
protected boolean
protected String
Fields inherited from class org.eclipse.persistence.internal.expressions.SQLModifyStatement
modifyRow, returnFields, table
Fields inherited from class org.eclipse.persistence.internal.expressions.SQLStatement
builder, hintString, translationRow, whereClause
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildCall
(AbstractSession session) Append the string containing the SQL insert string for the given table.protected SQLCall
buildSimple
(AbstractSession session) void
setDatabaseFieldsToTableAliases
(HashMap databaseFieldsToTableAliases) void
setPrimaryKeyFieldsForAutoJoin
(Collection primaryKeyFields) void
setSelectCallForExist
(SQLCall selectCallForExist) void
setShouldExtractWhereClauseFromSelectCallForExist
(boolean shouldExtractWhereClauseFromSelectCallForExist) void
setTableAliasInSelectCallForExist
(String tableAliasInSelectCallForExist) void
setUpdateClauses
(HashMap updateClauses) boolean
protected void
writeSelect
(Writer writer, SQLCall selectCall, String tableAliasInSelectCall, SQLCall call, DatasourcePlatform platform) protected boolean
writeWhere
(Writer writer, SQLCall selectCall, SQLCall call) Methods inherited from class org.eclipse.persistence.internal.expressions.SQLModifyStatement
buildCallWithoutReturning, getModifyRow, getReturnFields, getTable, setModifyRow, setReturnFields, setTable
Methods inherited from class org.eclipse.persistence.internal.expressions.SQLStatement
clone, getBuilder, getExpressionBuilder, getHintString, getTranslationRow, getWhereClause, setBuilder, setHintString, setTranslationRow, setWhereClause, toString
-
Field Details
-
m_updateClauses
-
databaseFieldsToTableAliases
-
selectCallForExist
-
tableAliasInSelectCallForExist
-
-
shouldExtractWhereClauseFromSelectCallForExist
protected boolean shouldExtractWhereClauseFromSelectCallForExist
-
-
Constructor Details
-
SQLUpdateAllStatement
public SQLUpdateAllStatement()
-
-
Method Details
-
setSelectCallForExist
-
getSelectCallForExist
-
setTableAliasInSelectCallForExist
-
getTableAliasInSelectCallForExist
-
setPrimaryKeyFieldsForAutoJoin
-
getPrimaryKeyFieldsForAutoJoin
-
setUpdateClauses
-
getUpdateClauses
-
setDatabaseFieldsToTableAliases
-
getDatabaseFieldsToTableAliases
-
setShouldExtractWhereClauseFromSelectCallForExist
public void setShouldExtractWhereClauseFromSelectCallForExist(boolean shouldExtractWhereClauseFromSelectCallForExist) -
shouldExtractWhereClauseFromSelectCallForExist
public boolean shouldExtractWhereClauseFromSelectCallForExist() -
buildCall
Append the string containing the SQL insert string for the given table.- Overrides:
buildCall
in classSQLModifyStatement
-
buildSimple
-
writeSelect
protected void writeSelect(Writer writer, SQLCall selectCall, String tableAliasInSelectCall, SQLCall call, DatasourcePlatform platform) throws IOException - Throws:
IOException
-
writeWhere
- Throws:
IOException
-