Deprecated
for removal since 6.
Given the mapping-model and SQM, this contract is no longer needed.
Note however that org. currently
uses this along with other
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getElementColumnNames(String alias)
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 |
| public String[] | getElementColumnNames()
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association) |
| public EntityPersister | getElementPersister()
Get the persister of the element class, if this is a collection of entities (optional operation). |
| public FetchMode | |
| public String[] | getIndexColumnNames()
Get the names of the collection index columns if this is an indexed collection (optional operation) |
| public String[] | getIndexColumnNames(String alias)
Get the names of the collection index columns if this is an indexed collection (optional operation), aliased by the given table alias |
| public String[] | |
| public String | Returns: appropriate order-by fragment or empty string.The alias for the many-to-many target table alias)Get the order-by to be applied at the target table of a many to many |
| public String | |
| public boolean | |
| public String | selectFragment(String alias, String columnSuffix)
Generate a list of collection index and element columns |
| getElementColumnNames | back to summary |
|---|---|
| public String[] getElementColumnNames(String alias) 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 | |
| getElementColumnNames | back to summary |
|---|---|
| public String[] getElementColumnNames() Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association) | |
| getElementPersister | back to summary |
|---|---|
| public EntityPersister getElementPersister() 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 | |
| getFetchMode | back to summary |
|---|---|
| public FetchMode getFetchMode() Should we load this collection role by outerjoining? | |
| getIndexColumnNames | back to summary |
|---|---|
| public String[] getIndexColumnNames() Get the names of the collection index columns if this is an indexed collection (optional operation) | |
| getIndexColumnNames | back to summary |
|---|---|
| public String[] getIndexColumnNames(String alias) Get the names of the collection index columns if this is an indexed collection (optional operation), aliased by the given table alias | |
| getIndexFormulas | back to summary |
|---|---|
| public String[] getIndexFormulas() Get the index formulas if this is an indexed collection (optional operation) | |
| getManyToManyOrderByString | back to summary |
|---|---|
| public String getManyToManyOrderByString(String alias) Get the order-by to be applied at the target table of a many to many | |
| getSQLOrderByString | back to summary |
|---|---|
| public String getSQLOrderByString(String alias) Get the order by SQL | |
| hasWhere | back to summary |
|---|---|
| public boolean hasWhere() Does this collection role have a where clause filter? | |
| selectFragment | back to summary |
|---|---|
| public String selectFragment(String alias, String columnSuffix) Generate a list of collection index and element columns | |