public abstract class BaseSqlServerDdlHelper extends Object
Constructor and Description |
---|
BaseSqlServerDdlHelper(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
createTriggersAndFunctions() |
void |
disableService() |
protected void |
dropIndex(String indexName,
String tableName) |
void |
dropTriggersAndFunctions() |
void |
enableService() |
protected String |
getCreateFunction(boolean isServiceEnabled) |
protected abstract String |
getCreateTriggerDdl() |
protected String |
getDropFunctionName() |
protected String |
getDropTriggerDdl() |
protected String |
getFullFunctionName() |
protected String |
getFullTableName() |
protected String |
getFullTriggerName() |
protected abstract String |
getFunctionName() |
protected String |
getPrefix() |
protected abstract String |
getTableName() |
protected abstract String |
getTriggerName() |
public BaseSqlServerDdlHelper(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public void createTriggersAndFunctions()
public void enableService()
public void disableService()
public void dropTriggersAndFunctions()
protected String getFullTriggerName()
protected String getFullFunctionName()
protected String getFullTableName()
protected String getPrefix()
protected String getDropTriggerDdl()
protected abstract String getTriggerName()
protected abstract String getFunctionName()
protected abstract String getTableName()
protected abstract String getCreateTriggerDdl()
protected String getDropFunctionName()
protected String getCreateFunction(boolean isServiceEnabled)
Copyright © 2003–2021 Atlassian. All rights reserved.