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.
- Open the J2EE perspective, if you have not already done so.
- Locate the EJB project in the Project Explorer and expand the Deployment Descriptor > Maps tree.
- Right click on the map that you want to delete and select Delete.
- 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.
- If you wish to only delete the map, uncheck the box next to Delete Map and Schema.
- If you wish to delete both the map and the schema, then make sure both boxes are checked.
- Press OK to complete the action.
Parent topic
Updating maps with the Mapping editor