Update of Consolidated Database Configuration

Updates the properties of the consolidated database configuration.

Syntax

void SUPServerConfiguration.updateConsolidatedDatabaseConfiguration(ServerComponentVO serverComponent)

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Update
    supServerConf.refresh();
    ServerComponentVO scvo = supServerConf
    		.getConsolidatedDatabaseConfiguration();
    ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo.getType());
    Map<String, String> properties = scvo.getProperties();
    properties.put("cdb.username", "dba");
    scvo_new.setProperties(properties);
    supServerConf.updateConsolidatedDatabaseConfiguration(scvo_new);
    supServerConf.commit();