public class UpgradeDriverFactory extends Object
Modifier and Type | Method and Description |
---|---|
static UpgradeDriverManager |
createUpgradeDriver(DataSource dataSource,
InputStream upgradeScript,
AttributeValue[] defaultProperties)
Constructs a schema upgrade driver.
|
public static UpgradeDriverManager createUpgradeDriver(DataSource dataSource, InputStream upgradeScript, AttributeValue[] defaultProperties) throws IfsException
Default properties can be specified. These will be merged with the default properties in the upgrade script, overriding any like-named default properties there.
dataSource
- a DataSource for the repository's schemaupgradeScript
- the XML upgrade scriptdefaultProperties
- additional default properties, or null if noneIfsException
- if the operation failsCopyright © 2023. All rights reserved.