Package org.dellroad.stuff.schema
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.
Database action interface.
-
Method Summary
-
Method Details
-
apply
Apply this action to the database using the provided open transaction.- Parameters:
transaction
- open transaction- Throws:
Exception
- if the action fails
-