Class SQLUpdateAllStatementForOracleAnonymousBlock
- java.lang.Object
-
- org.eclipse.persistence.internal.expressions.SQLStatement
-
- org.eclipse.persistence.internal.expressions.SQLModifyStatement
-
- org.eclipse.persistence.internal.expressions.SQLUpdateAllStatementForOracleAnonymousBlock
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SQLUpdateAllStatementForOracleAnonymousBlock extends SQLModifyStatement
- Since:
- TOPLink/Java 1.0
- Author:
- Andrei Ilitchev
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
dbltab
protected SQLCall
selectCall
protected static String
tab
protected HashMap
tables_databaseFieldsToValues
protected HashMap
tablesToPrimaryKeyFields
protected static String
trpltab
protected static String
typeSuffix
protected static String
varSuffix
-
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
Constructors Constructor Description SQLUpdateAllStatementForOracleAnonymousBlock()
-
Method Summary
-
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 Detail
-
tables_databaseFieldsToValues
protected HashMap tables_databaseFieldsToValues
-
tablesToPrimaryKeyFields
protected HashMap tablesToPrimaryKeyFields
-
selectCall
protected SQLCall selectCall
-
varSuffix
protected static final String varSuffix
- See Also:
- Constant Field Values
-
typeSuffix
protected static final String typeSuffix
- See Also:
- Constant Field Values
-
tab
protected static final String tab
- See Also:
- Constant Field Values
-
dbltab
protected static final String dbltab
- See Also:
- Constant Field Values
-
trpltab
protected static final String trpltab
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSelectCall
public void setSelectCall(SQLCall selectCall)
-
getSelectCall
public SQLCall getSelectCall()
-
setTablesToPrimaryKeyFields
public void setTablesToPrimaryKeyFields(HashMap tablesToPrimaryKeyFields)
-
getTablesToPrimaryKeyFields
public HashMap getTablesToPrimaryKeyFields()
-
setTables_databaseFieldsToValues
public void setTables_databaseFieldsToValues(HashMap tables_databaseFieldsToValues)
-
getTables_databaseFieldsToValues
public HashMap getTables_databaseFieldsToValues()
-
buildCall
public DatabaseCall buildCall(AbstractSession session)
Append the string containing the SQL insert string for the given table.- Overrides:
buildCall
in classSQLModifyStatement
-
writeUniqueFieldName
protected static void writeUniqueFieldName(Writer writer, DatabaseField field, DatasourcePlatform platform) throws IOException
- Throws:
IOException
-
writeType
protected static void writeType(Writer writer, DatabaseField field, DatasourcePlatform platform) throws IOException
- Throws:
IOException
-
writeVar
protected static void writeVar(Writer writer, DatabaseField field, DatasourcePlatform platform) throws IOException
- Throws:
IOException
-
writeDeclareTypeAndVar
protected static void writeDeclareTypeAndVar(Writer writer, DatabaseField field, DatasourcePlatform platform) throws IOException
- Throws:
IOException
-
writeForAll
protected static void writeForAll(Writer writer, DatabaseField field, DatasourcePlatform platform) throws IOException
- Throws:
IOException
-
-