public class SetSchemaVersionAction extends JDBCAction
NOLOG
CONTINUE_ON_ERROR, m_defaultOptions, m_options
APPEND_LOG, DATABASE_TYPE, DATABASE_URL, DB_USER_NAME, DB_USER_PASSWORD, DOMAIN_TYPE, ENABLE_SSL_SUPPORT, FOR_SCHEMA_UPGRADE, IFS_DOMAIN_DISPLAY_NAME, IFS_DOMAIN_NAME, IFS_SCHEMA_NAME, IFS_SCHEMA_PASSWORD, IFS_SERVICE_NAME, IFS_USER_NAME, IFS_USER_PASSWORD, INCLUDE_PATH, INITIAL_CONTEXT_FACTORY, LDAP_URL_DAS_LOOKUP, LDAP_USER_NAME, LDAP_USER_PASSWORD, OUTPUT_FILE, PARAMETER_FILE, REGISTRY, SCHEMA_VERSION_KEY, SECURITY_PROTOCOL_NAME, SERVICE_CONFIGURATION_NAME
Constructor and Description |
---|
SetSchemaVersionAction() |
SetSchemaVersionAction(String user,
String pass,
String url,
String version)
Creates a new SetSchemaVersionAction.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Connection con)
Sets the iFS schema version.
|
void |
failed(Throwable error)
Does nothing.
|
void |
stop()
Does nothing.
|
perform, setDatabaseUrl, setPassword, setUser
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
public SetSchemaVersionAction(String user, String pass, String url, String version)
user
- the database user/schema name to connect to.pass
- the user's password.url
- the database URL.version
- the String value to set the schema version to.public SetSchemaVersionAction()
public void execute(Connection con) throws ActionFailedException
execute
in class JDBCAction
con
- the Connection to use.SQLException
- if a database error occurs.ActionFailedException
- if any other error occurs.public void stop()
public void failed(Throwable error)
error
- the error that occurred.Copyright © 2023. All rights reserved.