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
Modifier and TypeFieldDescriptionprotected Collection
static final int
static final int
static final int
protected int
protected List
<DatabaseField> protected SQLCall
static final int
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.int
getMode()
protected abstract Collection
void
setAllFields
(Collection allFields) void
setMode
(int mode) void
setPrimaryKeyFields
(List<DatabaseField> primaryKeyFields) void
setSelectCall
(SQLCall selectCall) protected abstract void
writeUpdateOriginalTable
(AbstractSession session, Writer writer) 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
-
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:
buildCall
in classSQLModifyStatement
-