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() |
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 abstract String |
getTableName() |
protected abstract String |
getTriggerName() |
boolean |
indexExist(String indexName,
String tableName) |
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 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–2023 Atlassian. All rights reserved.
View cookie preferences