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:
java.io.Serializable,java.lang.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 java.lang.Stringdbltabprotected SQLCallselectCallprotected static java.lang.Stringtabprotected java.util.HashMaptables_databaseFieldsToValuesprotected java.util.HashMaptablesToPrimaryKeyFieldsprotected static java.lang.Stringtrpltabprotected static java.lang.StringtypeSuffixprotected static java.lang.StringvarSuffix-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseCallbuildCall(AbstractSession session)Append the string containing the SQL insert string for the given table.SQLCallgetSelectCall()java.util.HashMapgetTables_databaseFieldsToValues()java.util.HashMapgetTablesToPrimaryKeyFields()voidsetSelectCall(SQLCall selectCall)voidsetTables_databaseFieldsToValues(java.util.HashMap tables_databaseFieldsToValues)voidsetTablesToPrimaryKeyFields(java.util.HashMap tablesToPrimaryKeyFields)protected static voidwriteDeclareTypeAndVar(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform)protected static voidwriteForAll(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform)protected static voidwriteType(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform)protected static voidwriteUniqueFieldName(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform)protected static voidwriteVar(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform)-
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 java.util.HashMap tables_databaseFieldsToValues
-
tablesToPrimaryKeyFields
protected java.util.HashMap tablesToPrimaryKeyFields
-
selectCall
protected SQLCall selectCall
-
varSuffix
protected static final java.lang.String varSuffix
- See Also:
- Constant Field Values
-
typeSuffix
protected static final java.lang.String typeSuffix
- See Also:
- Constant Field Values
-
tab
protected static final java.lang.String tab
- See Also:
- Constant Field Values
-
dbltab
protected static final java.lang.String dbltab
- See Also:
- Constant Field Values
-
trpltab
protected static final java.lang.String trpltab
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSelectCall
public void setSelectCall(SQLCall selectCall)
-
getSelectCall
public SQLCall getSelectCall()
-
setTablesToPrimaryKeyFields
public void setTablesToPrimaryKeyFields(java.util.HashMap tablesToPrimaryKeyFields)
-
getTablesToPrimaryKeyFields
public java.util.HashMap getTablesToPrimaryKeyFields()
-
setTables_databaseFieldsToValues
public void setTables_databaseFieldsToValues(java.util.HashMap tables_databaseFieldsToValues)
-
getTables_databaseFieldsToValues
public java.util.HashMap getTables_databaseFieldsToValues()
-
buildCall
public DatabaseCall buildCall(AbstractSession session)
Append the string containing the SQL insert string for the given table.- Overrides:
buildCallin classSQLModifyStatement
-
writeUniqueFieldName
protected static void writeUniqueFieldName(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform) throws java.io.IOException- Throws:
java.io.IOException
-
writeType
protected static void writeType(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform) throws java.io.IOException- Throws:
java.io.IOException
-
writeVar
protected static void writeVar(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform) throws java.io.IOException- Throws:
java.io.IOException
-
writeDeclareTypeAndVar
protected static void writeDeclareTypeAndVar(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform) throws java.io.IOException- Throws:
java.io.IOException
-
writeForAll
protected static void writeForAll(java.io.Writer writer, DatabaseField field, DatasourcePlatform platform) throws java.io.IOException- Throws:
java.io.IOException
-
-