Interface DatabaseAction<T>

Type Parameters:
T - database transaction type
All Known Implementing Classes:
SpringPersistentObjectSchemaUpdate, SpringXSLPersistentObjectSchemaUpdate, SQLCommand, SQLCommandList
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DatabaseAction<T>
Database action interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(T transaction)
    Apply this action to the database using the provided open transaction.
  • Method Details

    • 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