Deleting maps and schemas

You can delete schemas and their associated maps, or just a map, from the J2EE perspective.

Note: If you delete a schema in the J2EE perspective, then its associated map (Map.mapxmi) will always be deleted. You can use the Resource perspective to delete a schema file and keep the associated map file.

A schema/backend must have already be defined for an EJB project, and a mapping of the schema to a database should also exist.

  1. Open the J2EE perspective, if you have not already done so.

  2. Locate the EJB project in the Project Explorer and expand the Deployment Descriptor > Maps tree.

  3. Right click on the map that you want to delete and select Delete.

  4. A panel appears that allows you to delete either the schema and its associated map or just the map. By default, both boxes are checked, with the Delete Map box greyed out.

    1. If you wish to only delete the map, uncheck the box next to Delete Map and Schema.

    2. If you wish to delete both the map and the schema, then make sure both boxes are checked.

  5. Press OK to complete the action.

 

Parent topic

Updating maps with the Mapping editor