From: <leg...@at...> - 2003-12-11 06:05:17
|
The following comment has been added to this issue: Author: Gavin King Created: Thu, 11 Dec 2003 12:04 AM Body: Hmmmmm should I apply this? Havn't decided... --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-375 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-375 Summary: bag.equals and bag.hashcode implementation Type: Patch Status: Open Priority: Major Project: Hibernate2 Components: core Versions: 2.0.3 Assignee: Gavin King Reporter: Emmanuel Bernard Created: Wed, 1 Oct 2003 9:42 AM Updated: Thu, 11 Dec 2003 12:04 AM Description: I implements bag.equals() and bag.hashcode() conforming the bag semantic. I did it for hibernate 2.0.3 version (can't access head right now) To implement it on head (1.16.2.3 right now), add the equals and hashcode version. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2003-12-11 10:32:17
|
The following comment has been added to this issue: Author: Emmanuel Bernard Created: Thu, 11 Dec 2003 4:31 AM Body: The patch came from this discussion http://forum.hibernate.org/viewtopic.php?t=924438 I think all the aruments are in. My best one was that the actual equals/hashCode impl is wrong even if you already load the collections. This is a clue that people don't use Bag.equals a lot. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-375 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-375 Summary: bag.equals and bag.hashcode implementation Type: Patch Status: Open Priority: Major Project: Hibernate2 Components: core Versions: 2.0.3 Assignee: Gavin King Reporter: Emmanuel Bernard Created: Wed, 1 Oct 2003 9:42 AM Updated: Thu, 11 Dec 2003 4:31 AM Description: I implements bag.equals() and bag.hashcode() conforming the bag semantic. I did it for hibernate 2.0.3 version (can't access head right now) To implement it on head (1.16.2.3 right now), add the equals and hashcode version. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
From: <leg...@at...> - 2004-07-27 23:46:30
|
The following comment has been added to this issue: Author: Christian Bauer Created: Tue, 27 Jul 2004 7:09 PM Body: We really should recommend in the future that people use a Collection instead of a List interface in Java if they need a bag. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-375?page=comments#action_13857 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HB-375 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-375 Summary: bag.equals and bag.hashcode implementation Type: Patch Status: Closed Priority: Major Resolution: REJECTED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: core Versions: 2.0.3 Assignee: Gavin King Reporter: Emmanuel Bernard Created: Wed, 1 Oct 2003 9:42 AM Updated: Tue, 27 Jul 2004 7:09 PM Description: I implements bag.equals() and bag.hashcode() conforming the bag semantic. I did it for hibernate 2.0.3 version (can't access head right now) To implement it on head (1.16.2.3 right now), add the equals and hashcode version. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |