Documentation says bags are Lists in Java, but are not
------------------------------------------------------
Key: HHH-3812
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3812
Project: Hibernate Core
Issue Type: Bug
Components: documentation, envers
Reporter: Jaka Jancar
Priority: Minor
Minor documentation bug:
http://jboss.org/files/envers/docs/index.html#exceptions-wontbesupported begins with:
Bags (the corresponding Java type is List), as they can contain
non-unique elements.
But Lists are not actually bags, since they are ordered.
As
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html says:
Bags or multisets (unordered collections that may contain duplicate
elements) should implement this interface directly.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira