[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2132) Comment before PersistentBag#getDeletes() about bags and one-to-many
Sergey Koshcheyev (JIRA)
noreply at atlassian.com
Wed Oct 4 13:18:24 EDT 2006
Comment before PersistentBag#getDeletes() about bags and one-to-many
--------------------------------------------------------------------
Key: HHH-2132
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2132
Project: Hibernate3
Type: Improvement
Components: core
Versions: 3.2.0.cr4
Reporter: Sergey Koshcheyev
Priority: Minor
There is this comment before PersistentBag#getDeletes():
// For a one-to-many, a <bag> is not really a bag;
// it is *really* a set, since it can't contain the
// same element twice. It could be considered a bug
// in the mapping dtd that <bag> allows <one-to-many>.
Christian Bauer said in http://jira.nhibernate.org/browse/NH-739 that this comment is incorrect.
Note also that I believe that the bug reported for NHibernate also exists in Hibernate 3 but I don't have a test case to verify.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list