Module org.eclipse.persistence.core
Class SQLModifyAllStatementForTempTable
java.lang.Object
org.eclipse.persistence.internal.expressions.SQLStatement
org.eclipse.persistence.internal.expressions.SQLModifyStatement
org.eclipse.persistence.internal.expressions.SQLModifyAllStatementForTempTable
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
SQLDeleteAllStatementForTempTable,SQLUpdateAllStatementForTempTable
- Since:
- TOPLink/Java 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collectionstatic final intstatic final intstatic final intprotected intprotected List<DatabaseField> protected SQLCallstatic final intFields inherited from class org.eclipse.persistence.internal.expressions.SQLModifyStatement
modifyRow, returnFields, tableFields inherited from class org.eclipse.persistence.internal.expressions.SQLStatement
builder, hintString, translationRow, whereClause -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildCall(AbstractSession session) Append the string containing the SQL insert string for the given table.intgetMode()protected abstract CollectionvoidsetAllFields(Collection allFields) voidsetMode(int mode) voidsetPrimaryKeyFields(List<DatabaseField> primaryKeyFields) voidsetSelectCall(SQLCall selectCall) protected abstract voidwriteUpdateOriginalTable(AbstractSession session, Writer writer) Methods inherited from class org.eclipse.persistence.internal.expressions.SQLModifyStatement
buildCallWithoutReturning, getModifyRow, getReturnFields, getTable, setModifyRow, setReturnFields, setTableMethods inherited from class org.eclipse.persistence.internal.expressions.SQLStatement
clone, getBuilder, getExpressionBuilder, getHintString, getTranslationRow, getWhereClause, setBuilder, setHintString, setTranslationRow, setWhereClause, toString
-
Field Details
-
CREATE_TEMP_TABLE
public static final int CREATE_TEMP_TABLE- See Also:
-
INSERT_INTO_TEMP_TABLE
public static final int INSERT_INTO_TEMP_TABLE- See Also:
-
UPDATE_ORIGINAL_TABLE
public static final int UPDATE_ORIGINAL_TABLE- See Also:
-
CLEANUP_TEMP_TABLE
public static final int CLEANUP_TEMP_TABLE- See Also:
-
allFields
-
-
selectCall
-
mode
protected int mode
-
-
Constructor Details
-
SQLModifyAllStatementForTempTable
public SQLModifyAllStatementForTempTable()
-
-
Method Details
-
getUsedFields
-
writeUpdateOriginalTable
protected abstract void writeUpdateOriginalTable(AbstractSession session, Writer writer) throws IOException - Throws:
IOException
-
setAllFields
-
getAllFields
-
setSelectCall
-
getSelectCall
-
setPrimaryKeyFields
-
getPrimaryKeyFields
-
setMode
public void setMode(int mode) -
getMode
public int getMode() -
buildCall
Append the string containing the SQL insert string for the given table.- Overrides:
buildCallin classSQLModifyStatement
-