Search in sources :

Example 1 with OracleDataType

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

the class OracleDataTypeManager method addObjectDeleteActions.

@Override
protected void addObjectDeleteActions(List<DBEPersistAction> actions, ObjectDeleteCommand objectDeleteCommand) {
    final OracleDataType object = objectDeleteCommand.getObject();
    actions.add(new SQLDatabasePersistAction("Drop type", //$NON-NLS-1$
    "DROP TYPE " + object.getFullyQualifiedName(DBPEvaluationContext.DDL)));
}
Also used : OracleDataType(org.jkiss.dbeaver.ext.oracle.model.OracleDataType) SQLDatabasePersistAction(org.jkiss.dbeaver.model.impl.edit.SQLDatabasePersistAction)

Aggregations

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