public class CustomSqlInstallProcessor extends AbstractInstallProcessor
loggerDATABASE_INSTALL_PROCESSOR, INITDATA_INSTALL_PROCESSOR, PROCEDURE_INSTALL_PROCESSOR, SEQUENCE_INSTALL_PROCESSOR, TABLE_INSTALL_PROCESSOR, TRIGGER_INSTALL_PROCESSOR, VIEW_INSTALL_PROCESSORDEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
CustomSqlInstallProcessor() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getPostProcessSqls(boolean isFull,
String language,
Connection connection)
获取后置sql
|
List<String> |
getPreProcessSqls(boolean isFull,
String language,
Connection connection)
获取前置处理sql
|
void |
setCustomSqlProcessor(CustomSqlProcessor customSqlProcessor) |
getOrder, getProcessSqlspublic void setCustomSqlProcessor(CustomSqlProcessor customSqlProcessor)
public List<String> getPreProcessSqls(boolean isFull, String language, Connection connection) throws SQLException
InstallProcessorgetPreProcessSqls in interface InstallProcessorgetPreProcessSqls in class AbstractInstallProcessorisFull - 是否增量language - 数据库语言connection - 连接对象SQLExceptionpublic List<String> getPostProcessSqls(boolean isFull, String language, Connection connection) throws SQLException
InstallProcessorgetPostProcessSqls in interface InstallProcessorgetPostProcessSqls in class AbstractInstallProcessorconnection - 连接对象SQLExceptionCopyright © 2006–2018 TinyGroup. All rights reserved.