kodo.jdbc.meta.strats
Class LockGroupStateComparisonVersionStrategy.CustomUpdate
java.lang.Object
   org.apache.openjpa.jdbc.sql.RowImpl
org.apache.openjpa.jdbc.sql.RowImpl
       kodo.jdbc.meta.strats.LockGroupStateComparisonVersionStrategy.CustomUpdate
kodo.jdbc.meta.strats.LockGroupStateComparisonVersionStrategy.CustomUpdate
- All Implemented Interfaces: 
- Cloneable, Row, RowManager
- Enclosing class:
- LockGroupStateComparisonVersionStrategy
- public static class LockGroupStateComparisonVersionStrategy.CustomUpdate 
- extends RowImpl- implements RowManager
Row implementation we use to pass to versionable mappings so they
        can set up the where conditions we need to add to update statements.
 
 
 
 
| Methods inherited from class org.apache.openjpa.jdbc.sql.RowImpl | 
| canSet, canSetAny, clearForeignKey, clearRelationId, clone, copyInto, flush, flush, generateSQL, getAction, getColumns, getFailedObject, getParameterCount, getPrimaryKey, getSet, getSQL, getTable, getTypes, getVals, getWhere, isDependent, isValid, setArray, setAsciiStream, setBigDecimal, setBigInteger, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCalendar, setChar, setCharacterStream, setClob, setDate, setDate, setDouble, setFailedObject, setFloat, setForeignKey, setForeignKey, setInt, setLocale, setLong, setNull, setNull, setNumber, setObject, setPrimaryKey, setPrimaryKey, setRaw, setRelationId, setShort, setString, setTime, setTimestamp, setValid, whereArray, whereAsciiStream, whereBigDecimal, whereBigInteger, whereBinaryStream, whereBlob, whereBoolean, whereByte, whereBytes, whereCalendar, whereChar, whereCharacterStream, whereClob, whereDate, whereDate, whereDouble, whereFloat, whereForeignKey, whereInt, whereLocale, whereLong, whereNull, whereNumber, whereObject, whereObject, wherePrimaryKey, whereRaw, whereShort, whereString, whereTime, whereTimestamp | 
 
 
getSQL
public String getSQL()
- Return a boolean SQL expression that should be added to the
 WHERE clause of an UPDATE to test whether the current database
 record matches our stored version.
 
- 
 
- 
 
newInstance
protected RowImpl newInstance(Column[] cols,
                              int action)
- 
- Overrides:
- newInstancein class- RowImpl
 
- 
 
hasAutoAssignConstraints
public boolean hasAutoAssignConstraints()
- 
 
- 
 
getInserts
public Collection getInserts()
- 
 
- 
 
getUpdates
public Collection getUpdates()
- 
 
- 
 
getDeletes
public Collection getDeletes()
- 
 
- 
 
getSecondaryUpdates
public Collection getSecondaryUpdates()
- 
 
- 
 
getSecondaryDeletes
public Collection getSecondaryDeletes()
- 
 
- 
 
getAllRowUpdates
public Collection getAllRowUpdates()
- 
 
- 
 
getAllRowDeletes
public Collection getAllRowDeletes()
- 
 
- 
 
getRow
public Row getRow(Table table,
                  int action,
                  OpenJPAStateManager sm,
                  boolean create)
- 
- Specified by:
- getRowin interface- RowManager
 
- 
 
getSecondaryRow
public Row getSecondaryRow(Table table,
                           int action)
- 
- Specified by:
- getSecondaryRowin interface- RowManager
 
- 
 
flushSecondaryRow
public void flushSecondaryRow(Row row)
- 
- Specified by:
- flushSecondaryRowin interface- RowManager
 
- 
 
getAllRows
public Row getAllRows(Table table,
                      int action)
- 
- Specified by:
- getAllRowsin interface- RowManager
 
- 
 
flushAllRows
public void flushAllRows(Row row)
- 
- Specified by:
- flushAllRowsin interface- RowManager
 
- 
 
setObject
public void setObject(Column col,
                      Object val)
               throws SQLException
- 
- Specified by:
- setObjectin interface- Row
- Overrides:
- setObjectin class- RowImpl
 
- 
- Throws:
- SQLException
 
Copyright 2011 Oracle, Inc. All Rights Reserved.This documentation is deprecated and will be removed in the next release of WebLogic Server.
Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
12c Release 1 (12.1.1)
Part Number E24400_01