java.lang.Object | |
↳ | org.hibernate.persister.collection.AbstractCollectionPersister |
Known Direct Subclasses |
Base implementation of the QueryableCollection interface.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Delete the persistent state of any elements that were removed from
the collection
| |||||||||||
Get the where clause filter, given a query alias and considering enabled session filters
| |||||||||||
Get the cache
| |||||||||||
Get the cache structure
| |||||||||||
Get the "space" that holds the persistent state
| |||||||||||
Get the associated Type
| |||||||||||
Return the element class of an array, or null otherwise
| |||||||||||
Generates the collection's element column aliases, based on the given
suffix.
| |||||||||||
Get the names of the collection element columns (or the primary
key columns in the case of a one-to-many association),
aliased by the given table alias
| |||||||||||
Get the names of the collection element columns (or the primary
key columns in the case of a one-to-many association)
| |||||||||||
Get the persister of the element class, if this is a
collection of entities (optional operation).
| |||||||||||
The collection element type
| |||||||||||
Should we load this collection role by outerjoining?
| |||||||||||
Generates the collection's identifier column aliases, based on the given
suffix.
| |||||||||||
Get the surrogate key generation strategy (optional operation)
| |||||||||||
Get the type of the surrogate key
| |||||||||||
Generates the collection's index column aliases, based on the given
suffix.
| |||||||||||
Get the names of the collection index columns if
this is an indexed collection (optional operation)
| |||||||||||
Get the names of the collection index columns if
this is an indexed collection (optional operation),
aliased by the given table alias
| |||||||||||
Get the index formulas if this is an indexed collection
(optional operation)
| |||||||||||
The collection index type (or null if the collection has no index)
| |||||||||||
Intended for internal use only.
| |||||||||||
Generates the collection's key column aliases, based on the given
suffix.
| |||||||||||
The columns to join on
| |||||||||||
The collection key type
| |||||||||||
Get the order-by to be applied at the target table of a many to many
| |||||||||||
An identifying name; a class name or collection role name.
| |||||||||||
Get the persister of the entity that "owns" this collection
| |||||||||||
The name of this collection role
| |||||||||||
Get the order by SQL
| |||||||||||
The table to join to.
| |||||||||||
Get the type of the thing containing the properties
| |||||||||||
Is this collection role cacheable
| |||||||||||
Is this collection indexed?
| |||||||||||
Is this an ordered collection? (An ordered collection is
ordered by the initialization operation, not by sorting
that happens in memory, as in the case of a sorted collection.)
| |||||||||||
Does this collection implement "orphan delete"?
| |||||||||||
Does this collection role have a where clause filter?
| |||||||||||
Initialize the given collection with the given key
| |||||||||||
Insert the persistent state of any new collection elements
| |||||||||||
Is the collection an array?
| |||||||||||
Is this instance actually a CollectionPersister?
| |||||||||||
Is this collection "inverse", so state changes are not
propogated to the database.
| |||||||||||
Is the collection lazily initialized?
| |||||||||||
Is this a many-to-many association? Note that this is mainly
a convenience feature as the single persister does not
conatin all the information needed to handle a many-to-many
itself, as internally it is looked at as two many-to-ones.
| |||||||||||
Can the elements of this collection change?
| |||||||||||
Is the collection a primitive array?
| |||||||||||
Does this collection cause version increment of the
owning entity?
| |||||||||||
Read the element from a row of the JDBC ResultSet
| |||||||||||
Read the identifier from a row of the JDBC ResultSet
| |||||||||||
Read the index from a row of the JDBC ResultSet
| |||||||||||
Read the key from a row of the JDBC ResultSet
| |||||||||||
(Re)create the collection's persistent state
| |||||||||||
Completely remove the persistent state of the collection
| |||||||||||
Generate a list of collection index, key and element columns
| |||||||||||
Given a query alias and a property path, return the qualified
column name
| |||||||||||
Given a property path, return the corresponding column name(s).
| |||||||||||
Given a component path expression, get the type of the property
| |||||||||||
Update the persistent state of any elements that were modified
| |||||||||||
Write the identifier to a JDBC PreparedStatement
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.metadata.CollectionMetadata
| |||||||||||
From interface
org.hibernate.persister.collection.CollectionPersister
| |||||||||||
From interface
org.hibernate.persister.collection.QueryableCollection
| |||||||||||
From interface
org.hibernate.persister.collection.SQLLoadableCollection
| |||||||||||
From interface
org.hibernate.persister.entity.Joinable
| |||||||||||
From interface
org.hibernate.persister.entity.PropertyMapping
|
CacheException | |
---|---|
MappingException |
Delete the persistent state of any elements that were removed from the collection
HibernateException |
---|
Get the where clause filter, given a query alias and considering enabled session filters
MappingException |
---|
Generates the collection's element column aliases, based on the given suffix.
suffix | The suffix to use in the element column alias generation. |
---|
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association), aliased by the given table alias
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association)
Get the persister of the element class, if this is a collection of entities (optional operation). Note that for a one-to-many association, the returned persister must be OuterJoinLoadable.
Generates the collection's identifier column aliases, based on the given suffix.
suffix | The suffix to use in the key column alias generation. |
---|
Get the surrogate key generation strategy (optional operation)
Generates the collection's index column aliases, based on the given suffix.
suffix | The suffix to use in the index column alias generation. |
---|
Get the names of the collection index columns if this is an indexed collection (optional operation)
Get the names of the collection index columns if this is an indexed collection (optional operation), aliased by the given table alias
Get the index formulas if this is an indexed collection (optional operation)
Intended for internal use only. In fact really only currently used from test suite for assertion purposes.
Generates the collection's key column aliases, based on the given suffix.
suffix | The suffix to use in the key column alias generation. |
---|
Get the order-by to be applied at the target table of a many to many
alias | The alias for the many-to-many target table |
---|
Get the persister of the entity that "owns" this collection
Is this collection role cacheable
Is this collection indexed?
Is this an ordered collection? (An ordered collection is ordered by the initialization operation, not by sorting that happens in memory, as in the case of a sorted collection.)
Does this collection implement "orphan delete"?
Does this collection role have a where clause filter?
Initialize the given collection with the given key
HibernateException |
---|
Insert the persistent state of any new collection elements
HibernateException |
---|
Is the collection an array?
Is this instance actually a CollectionPersister?
Is this collection "inverse", so state changes are not propogated to the database.
Is the collection lazily initialized?
Is this a many-to-many association? Note that this is mainly a convenience feature as the single persister does not conatin all the information needed to handle a many-to-many itself, as internally it is looked at as two many-to-ones.
Can the elements of this collection change?
Is the collection a primitive array?
Does this collection cause version increment of the owning entity?
Read the element from a row of the JDBC ResultSet
HibernateException | |
---|---|
SQLException |
Read the identifier from a row of the JDBC ResultSet
HibernateException | |
---|---|
SQLException |
Read the index from a row of the JDBC ResultSet
HibernateException | |
---|---|
SQLException |
Read the key from a row of the JDBC ResultSet
HibernateException | |
---|---|
SQLException |
(Re)create the collection's persistent state
HibernateException |
---|
Completely remove the persistent state of the collection
HibernateException |
---|
Generate a list of collection index, key and element columns
Given a query alias and a property path, return the qualified column name
QueryException |
---|
Given a property path, return the corresponding column name(s).
QueryException |
---|
Given a component path expression, get the type of the property
QueryException |
---|
Update the persistent state of any elements that were modified
HibernateException |
---|
Write the identifier to a JDBC PreparedStatement
HibernateException | |
---|---|
SQLException |
MappingException |
---|
HibernateException |
---|
Write the element to a JDBC PreparedStatement
HibernateException | |
---|---|
SQLException |
Write the element to a JDBC PreparedStatement
HibernateException | |
---|---|
SQLException |
Write the index to a JDBC PreparedStatement
HibernateException | |
---|---|
SQLException |
Write the index to a JDBC PreparedStatement
HibernateException | |
---|---|
SQLException |
Write the key to a JDBC PreparedStatement
HibernateException | |
---|---|
SQLException |