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: | Problem with hash codes and equals in in javabeans | ||
---|---|---|---|
Product: | ide | Reporter: | scanti <scanti> |
Component: | Schema2Beans | Assignee: | schema2beans-issues@ide <schema2beans-issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
scanti
2008-04-14 17:58:05 UTC
Doesn't affect the IDE itself, so adding the NO61 keyword. I don't think this use case is supported, the objects generated by s2b are mutable and therefore the generated equals and hashcode don't behave as for an immutable object. You can always override the generated equals / hashCode for your beans using the user code section in the extra info file. Changing to enhancement for now. yes, but it used to work when I generated baseBeans |