java.lang.Object
io.ebean.platform.h2.H2HistoryTrigger
- All Implemented Interfaces:
org.h2.api.Trigger
H2 database trigger used to populate history tables to support the @History feature.
-
Field Summary
Fields inherited from interface org.h2.api.Trigger
DELETE, INSERT, SELECT, UPDATE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
H2HistoryTrigger
public H2HistoryTrigger()
-
-
Method Details
-
init
public void init(Connection conn, String schemaName, String triggerName, String tableName, boolean before, int type) throws SQLException - Specified by:
initin interfaceorg.h2.api.Trigger- Throws:
SQLException
-
fire
- Specified by:
firein interfaceorg.h2.api.Trigger- Throws:
SQLException
-
close
- Specified by:
closein interfaceorg.h2.api.Trigger- Throws:
SQLException
-
remove
- Specified by:
removein interfaceorg.h2.api.Trigger- Throws:
SQLException
-