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 178740 - Controller unable to delete entities with cascade all relationships
Summary: Controller unable to delete entities with cascade all relationships
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 09:10 UTC by javydreamercsw
Modified: 2016-07-07 08:56 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 javydreamercsw 2009-12-16 09:10:26 UTC
Build 200912150200

While following up issue #178611 I came across this issue. I have relationships marked as Cascade.ALL, which I expected that those were deleted as well automatically, are treated as IllegalOrphanException when it should go ahead and delete those as well.
Comment 1 javydreamercsw 2009-12-25 19:39:57 UTC
I had to recreate the controller classes. I think that changing Entities should somehow warn the user about that controllers might be invalid.
Comment 2 javydreamercsw 2010-01-13 15:29:02 UTC
Due to my previous comment I'm changing this to an enhancement.
Comment 3 Martin Balin 2016-07-07 08:56:21 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