public class AlterIfsCredentialManager extends CreateDatabaseObjectsAction
This action runs as the SYS user. First used in 9.0.4.2.0 --> 9.0.4.6.0
Modifier and Type | Class and Description |
---|---|
static class |
AlterIfsCredentialManager.EntryInfo
Represents info for an entry in IfsCM.
|
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 |
---|
AlterIfsCredentialManager() |
Modifier and Type | Method and Description |
---|---|
void |
addColumnIfNecessary(Connection conn,
String tableName,
String columnName,
String rdbmsDataType)
Alter the specified table to add a new column.
|
void |
execute(Connection conn)
Execute the action.
|
analyze, analyzeTable, closeResultSet, closeStatement, columnExists, commit, createIndex, createIndex, createIndex, createIndex, createIndex, createIndex, createSequence, createTable, createView, dropIndex, dropSequence, dropTable, dropView, executeStatement, executeUpdate, failed, getNextSequenceValue, getSchemaName, getTimestamp, isValidConnection, log, log, printStackTrace, rollback, rowExists, rowExists, stop, tableExists
perform, setDatabaseUrl, setPassword, setUser
getDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptions
public void execute(Connection conn) throws SQLException, ActionFailedException
execute
in class JDBCAction
conn
- database connection.SQLException
- if the operation failsActionFailedException
- if the operation failspublic void addColumnIfNecessary(Connection conn, String tableName, String columnName, String rdbmsDataType) throws SQLException
conn
- database connectiontableName
- the table name for the classobject involvedcolumnName
- the name of the new column to addrdbmsDataType
- the DBMS data type string (e.g. "NUMBER(20)" )SQLException
- if the operation failsCopyright © 2023. All rights reserved.