FileDocCategorySizeDatePackage
SQLDeleteAllStatementForTempTable.javaAPI DocGlassfish v2 API3397Tue May 22 16:54:32 BST 2007oracle.toplink.essentials.internal.expressions

SQLDeleteAllStatementForTempTable

public class SQLDeleteAllStatementForTempTable extends SQLModifyAllStatementForTempTable
author
Andrei Ilitchev
since
TOPLink/Java 1.0

Fields Summary
protected DatabaseTable
targetTable
protected Collection
targetPrimaryKeyFields
Constructors Summary
Methods Summary
public java.util.CollectiongetTargetPrimaryKeyFields()

        return targetPrimaryKeyFields;
    
public oracle.toplink.essentials.internal.helper.DatabaseTablegetTargetTable()

        return targetTable;
    
protected java.util.CollectiongetUsedFields()

        return new Vector(getPrimaryKeyFields());
    
public voidsetTargetPrimaryKeyFields(java.util.Collection targetPrimaryKeyFields)

        this.targetPrimaryKeyFields = targetPrimaryKeyFields;
    
public voidsetTargetTable(oracle.toplink.essentials.internal.helper.DatabaseTable targetTable)

        this.targetTable = targetTable;
    
protected voidwriteUpdateOriginalTable(oracle.toplink.essentials.internal.sessions.AbstractSession session, java.io.Writer writer)

        session.getPlatform().writeDeleteFromTargetTableUsingTempTableSql(writer, getTable(), getTargetTable(),
                                                        new Vector(getPrimaryKeyFields()), 
                                                        new Vector(getTargetPrimaryKeyFields()));