Class DbTableBasedHistoryDdl
java.lang.Object
io.ebeaninternal.dbmigration.ddlgeneration.platform.DbTableBasedHistoryDdl
- All Implemented Interfaces:
PlatformHistoryDdl,PlatformHistoryDdl.TableBased
- Direct Known Subclasses:
Db2HistoryDdl,DbTriggerBasedHistoryDdl,HanaHistoryDdl
public abstract class DbTableBasedHistoryDdl
extends Object
implements PlatformHistoryDdl.TableBased
Base implementation for all histories, where we must maintain history table (trigger based, db2 and hana)
- Author:
- Roland Praml, FOCONIS AG
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformHistoryDdl
PlatformHistoryDdl.TableBased -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(io.ebean.config.DatabaseConfig config, PlatformDdl platformDdl) Configure typically reading the necessary parameters from DatabaseConfig and Platform.historyTableName(String baseTableName) Returns the history table name with propert quotes.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformHistoryDdl
addHistoryTable, createWithHistory, dropHistoryTable, updateTriggers
-
Constructor Details
-
DbTableBasedHistoryDdl
public DbTableBasedHistoryDdl()
-
-
Method Details
-
configure
Description copied from interface:PlatformHistoryDdlConfigure typically reading the necessary parameters from DatabaseConfig and Platform.- Specified by:
configurein interfacePlatformHistoryDdl
-
historyTableName
Description copied from interface:PlatformHistoryDdl.TableBasedReturns the history table name with propert quotes.- Specified by:
historyTableNamein interfacePlatformHistoryDdl.TableBased
-