This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 147684 - [65cat]Mapping file deletion (Refactor/Safe Delete)
Summary: [65cat]Mapping file deletion (Refactor/Safe Delete)
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vadiraj Deshpande
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-19 08:39 UTC by alcmontejo
Modified: 2016-07-07 08:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alcmontejo 2008-09-19 08:39:34 UTC
hi, 

I've created  mapping file using the new Hibernate Mapping File dialog, and I notice after i created the mapping file,
the IDE will automatically create a mapping statement on the hibernate configuration file(hibernate.cfg) and it was great.
But then when I try to delete the mapping file the IDE wont delete the statement it create on hibernate configuration.

I am using NetBeans IDE Build 200809180201.

Thanks,
Allen Montejo
Comment 1 Vadiraj Deshpande 2008-09-22 14:50:28 UTC
Refactor/Safe Delete for mapping files is not yet implemented in Hibernate module. Right now, if you delete the XML file by right clicking on the file and 
selecting 'delete' option, the IDE assumes that you know what you are doing.. and you'll handle the in-consistencies that might have occurred because of this 
action. I am converting this issue to an enhancement for tracking 'Refactor/Safe delete' for mapping files. 
Comment 2 Vadiraj Deshpande 2008-11-18 10:42:11 UTC
To be taken up in future release. Would accommodate in 7.0 if time permits.  
Comment 3 Martin Balin 2016-07-07 08:53:41 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss