org.datanucleus.store.rdbms
Class DeleteTablesSchemaTransaction
java.lang.Object
org.datanucleus.store.rdbms.AbstractSchemaTransaction
org.datanucleus.store.rdbms.DeleteTablesSchemaTransaction
public class DeleteTablesSchemaTransaction
- extends AbstractSchemaTransaction
Schema transaction for deleting all known tables.
|
Field Summary |
protected static org.datanucleus.util.Localiser |
LOCALISER
Localiser for messages. |
|
Method Summary |
protected void |
run(org.datanucleus.ClassLoaderResolver clr)
Implements the body of the transaction. |
java.lang.String |
toString()
Returns a description of the management transaction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LOCALISER
protected static final org.datanucleus.util.Localiser LOCALISER
- Localiser for messages.
DeleteTablesSchemaTransaction
public DeleteTablesSchemaTransaction(RDBMSManager rdbmsMgr,
int isolationLevel,
org.datanucleus.store.StoreDataManager dataMgr)
- Parameters:
rdbmsMgr - isolationLevel -
run
protected void run(org.datanucleus.ClassLoaderResolver clr)
throws java.sql.SQLException
- Description copied from class:
AbstractSchemaTransaction
- Implements the body of the transaction.
- Specified by:
run in class AbstractSchemaTransaction
- Parameters:
clr - the ClassLoaderResolver
- Throws:
java.sql.SQLException - Thrown if the transaction fails due to a database error that should allow
the entire transaction to be retried.
toString
public java.lang.String toString()
- Description copied from class:
AbstractSchemaTransaction
- Returns a description of the management transaction. Subclasses should override this method so that
transaction failures are given an appropriate exception message.
- Specified by:
toString in class AbstractSchemaTransaction
- Returns:
- A description of the management transaction.
Copyright © 2009. All Rights Reserved.