org.dellroad.stuff.schema
Interface DatabaseAction<T>

Type Parameters:
T - database transaction type
All Known Implementing Classes:
SpringPersistentObjectSchemaUpdate, SpringXSLPersistentObjectSchemaUpdate, SQLCommand, SQLCommandList

public interface DatabaseAction<T>

Database action interface.


Method Summary
 void apply(T transaction)
          Apply this action to the database using the provided open transaction.
 

Method Detail

apply

void apply(T transaction)
           throws Exception
Apply this action to the database using the provided open transaction.

Parameters:
transaction - open transaction
Throws:
Exception - if the action fails