Class AbstractConfiguration
java.lang.Object
io.camunda.migrator.config.mybatis.AbstractConfiguration
- Direct Known Subclasses:
C8Configuration,MigratorConfiguration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> org.mybatis.spring.mapper.MapperFactoryBean<T> createMapperFactoryBean(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory, Class<T> clazz) protected liquibase.integration.spring.MultiTenantSpringLiquibasecreateSchema(DataSource dataSource, String tablePrefix, String changeLogFile) protected org.apache.ibatis.session.SqlSessionFactorycreateSqlSessionFactory(DataSource dataSource, org.apache.ibatis.mapping.DatabaseIdProvider databaseIdProvider, Properties databaseProperties, String tablePrefix) protected PropertiesloadPropertiesFile(String databaseId, String file)
-
Field Details
-
configProperties
-
-
Constructor Details
-
AbstractConfiguration
public AbstractConfiguration()
-
-
Method Details
-
loadPropertiesFile
- Throws:
IOException
-
createSqlSessionFactory
protected org.apache.ibatis.session.SqlSessionFactory createSqlSessionFactory(DataSource dataSource, org.apache.ibatis.mapping.DatabaseIdProvider databaseIdProvider, Properties databaseProperties, String tablePrefix) throws Exception - Throws:
Exception
-
createMapperFactoryBean
protected <T> org.mybatis.spring.mapper.MapperFactoryBean<T> createMapperFactoryBean(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory, Class<T> clazz) -
createSchema
protected liquibase.integration.spring.MultiTenantSpringLiquibase createSchema(DataSource dataSource, String tablePrefix, String changeLogFile)
-