Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.1.0
-
Component/s: DSL for Business Domain
-
Labels:None
-
Number of attachments :
Description
Currently removal of elements from a Set does not work.
Here is a listing of what will work or won't work with the different ways to handle equals/hashCode:
| no eq/hC at all | eq/hC with the id property | eq/hC with buisness key | |
|---|---|---|---|
| use in a composite-id | No | Yes | Yes |
| multiple new instances in set | Yes | No | Yes |
| equal to same object from other session | No | Yes | Yes |
| collections intact after saving | Yes | No | Yes |
Issue Links
| This issue supercedes: | ||||
| MODFORJ-133 | Configuration error in the generated hbm.xml |
|
|
|
We chose to not override equals and hashcode. This leads to the least surprise for programmers.