public final class SQLStatementUpdateCheck
extends java.lang.Object
Constructor | Description |
---|---|
SQLStatementUpdateCheck(SQLEngine engine) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
updateFailureCheck(CastorConnection conn,
Identity identity) |
This function checks whether the object specified in the statement has been previously
removed from the persistent storage or has been modified.
|
public SQLStatementUpdateCheck(SQLEngine engine)
engine
- SQL engine for all persistence operations at entities of the type this
class is responsible for. Holds all required information of the entity type.public void updateFailureCheck(CastorConnection conn, Identity identity) throws PersistenceException
conn
- CastorConnection holding connection and PersistenceFactory to be used to create
statement.identity
- Identity of the object to check for availability.PersistenceException
- If a database access error occurs, identity size mismatches,
column length mismatches, ObjectDeletedException if object had been deleted or
ObjectModifiedException if object had been modified before.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com