Search in sources :

Example 1 with OracleUser

use of org.jkiss.dbeaver.ext.oracle.model.OracleUser in project dbeaver by serge-rider.

the class OracleSchemaManager method addObjectCreateActions.

@Override
protected void addObjectCreateActions(List<DBEPersistAction> actions, ObjectCreateCommand command) {
    OracleUser user = command.getObject().getUser();
    actions.add(new SQLDatabasePersistAction("Create schema", "CREATE USER " + DBUtils.getQuotedIdentifier(user) + " IDENTIFIED BY \"" + user.getPassword() + "\""));
}
Also used : OracleUser(org.jkiss.dbeaver.ext.oracle.model.OracleUser) SQLDatabasePersistAction(org.jkiss.dbeaver.model.impl.edit.SQLDatabasePersistAction)

Aggregations

OracleUser (org.jkiss.dbeaver.ext.oracle.model.OracleUser)1 SQLDatabasePersistAction (org.jkiss.dbeaver.model.impl.edit.SQLDatabasePersistAction)1