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.
Summary: | Change Dafault equals Code in Generated Entities | ||
---|---|---|---|
Product: | javaee | Reporter: | cadorca <cadorca> |
Component: | Persistence | Assignee: | Andrei Badea <abadea> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
cadorca
2008-06-22 20:36:03 UTC
suggested equal seems wrong to me, as hashCode equal shouldn't mean object equals. hashcode may be always constant in super or in Id class and it will case wrong true for suggested equal in case if at least one id is null. also it's not clear what exactly do not work in case of null id. 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 |