| Home >> All >> org >> hibernate >> [ collection Javadoc ] |
org.hibernate.collection: Javadoc index of package org.hibernate.collection.
Package Samples:
org.hibernate.collection
Classes:
PersistentCollection: Persistent collections are treated as value objects by Hibernate. ie. they have no independent existence beyond the object holding a reference to them. Unlike instances of entity classes, they are automatically deleted when unreferenced and automatically become persistent when held by a persistent object. Collections can be passed between different objects (change "roles") and this might cause their elements to move from one database table to another. Hibernate "wraps" a java collection in an instance of PersistentCollection. This mechanism is designed to support tracking of changes to the collection's ...
PersistentIdentifierBag: An IdentifierBag implements "bag" semantics more efficiently than a regular Bag by adding a synthetic identifier column to the table. This identifier is unique for all rows in the table, allowing very efficient updates and deletes. The value of the identifier is never exposed to the application. IdentifierBag s may not be used for a many-to-one association. Furthermore, there is no reason to use inverse="true" .
PersistentBag: An unordered, unkeyed collection that can contain the same element multiple times. The Java collections API, curiously, has no Bag . Most developers seem to use List s to represent bag semantics, so Hibernate follows this practice.
PersistentArrayHolder: A persistent wrapper for an array. Lazy initialization is NOT supported. Use of Hibernate arrays is not really recommended.
PersistentSortedMap: A persistent wrapper for a java.util.SortedMap . Underlying collection is a TreeMap .
PersistentSortedSet: A persistent wrapper for a java.util.SortedSet . Underlying collection is a TreeSet .
PersistentList: A persistent wrapper for a java.util.List . Underlying collection is an ArrayList .
PersistentSet: A persistent wrapper for a java.util.Set . The underlying collection is a HashSet .
PersistentMap: A persistent wrapper for a java.util.Map . Underlying collection is a HashMap .
AbstractPersistentCollection: Base class implementing PersistentCollection
PersistentElementHolder: A persistent wrapper for an XML element
PersistentIndexedElementHolder: A persistent wrapper for an XML element
PersistentListElementHolder
PersistentMapElementHolder
| Home | Contact Us | Privacy Policy | Terms of Service |