Class DbSchemaCreator
java.lang.Object
pro.taskana.common.internal.configuration.DbSchemaCreator
This class create the schema for taskana.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidSchemaVersion(String expectedMinVersion) booleanrun()Run all db scripts.voidsetDataSource(DataSource dataSource)
-
Constructor Details
-
DbSchemaCreator
-
-
Method Details
-
run
Run all db scripts.- Returns:
- true when schema was created, false when no schema created because already existing
- Throws:
SQLException- will be thrown if there will be some incorrect SQL statements invoked.
-
isValidSchemaVersion
-
getDataSource
-
setDataSource
-