Package com.skava.accounts.model.entity
Class BudgetTransactionTrigger
java.lang.Object
com.skava.accounts.model.entity.BudgetTransactionTrigger
- All Implemented Interfaces:
org.h2.api.Trigger
The utility class BudgetTransactionTrigger used for h2DB trigger to update usedBudget
on budgetTransaction insert.
- Author:
- Infosys Equinox
-
Field Summary
Fields inherited from interface org.h2.api.Trigger
DELETE, INSERT, SELECT, UPDATE
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BudgetTransactionTrigger
public BudgetTransactionTrigger()
-
-
Method Details
-
init
public void init(Connection conn, String schemaName, String triggerName, String tableName, boolean before, int type) throws SQLException - Specified by:
init
in interfaceorg.h2.api.Trigger
- Throws:
SQLException
-
fire
- Specified by:
fire
in interfaceorg.h2.api.Trigger
- Throws:
SQLException
-
close
- Specified by:
close
in interfaceorg.h2.api.Trigger
- Throws:
SQLException
-
remove
- Specified by:
remove
in interfaceorg.h2.api.Trigger
- Throws:
SQLException
-