public class AlterPasswordAction extends JDBCAction
Modifier and Type | Field and Description |
---|---|
static String |
SCHEMA_NAME
Option key "schema.name" points to the schema which needs to be dropped.
|
static String |
SCHEMA_PASSWORD
Option key "schema.password" points to the schema password.
|
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 |
---|
AlterPasswordAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Connection con)
Executes JDBC statements.
|
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 static final String SCHEMA_NAME
public static final String SCHEMA_PASSWORD
public void execute(Connection con) throws ActionFailedException
JDBCAction
Note: Subclasses should provide an implementation for this method.
The Connection does not need to be closed by this method; the calling method will close it. However, any Statement or ResultSet objects that are opened should be closed explicitly.
execute
in class JDBCAction
con
- the Connection to the database.ActionFailedException
- if any other error occurs.public void stop()
public void failed(Throwable error)
error
- the error that occurred.Copyright © 2023. All rights reserved.