Package scriptella.tools.template
Class DataMigrator
java.lang.Object
scriptella.tools.template.TemplateManager
scriptella.tools.template.DataMigrator
Data migration template manager.
Produces an ETL template for tranferring data between tables of different databases. The tables are ascendingly ordered by a number of foreign keys.
Configuration properties
- driver - JDBC driver class name. Required.
- url - JDBC URL of the database. Required.
- user - database user name.
- password - database user password.
- catalog - database catalog name.
- schema - database schema name.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Field Summary
Fields inherited from class scriptella.tools.template.TemplateManager
logger, PROPS_EXT, XML_EXT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class scriptella.tools.template.TemplateManager
checkFile, create, defineName, forName, loadResourceAsString, newFileWriter
-
Constructor Details
-
DataMigrator
public DataMigrator()
-
-
Method Details
-
create
Description copied from class:TemplateManagerProduce template files.- Overrides:
createin classTemplateManager- Parameters:
properties- configuration properties.- Throws:
IOException- if output fails.
-