| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private BasicBatchKey | |
| private BasicBatchKey | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)
|
| cascadeDeleteEnabled | back to summary |
|---|---|
| private final boolean cascadeDeleteEnabled | |
| deleteRowBatchKey | back to summary |
|---|---|
| private BasicBatchKey deleteRowBatchKey | |
| insertRowBatchKey | back to summary |
|---|---|
| private BasicBatchKey insertRowBatchKey | |
| keyIsNullable | back to summary |
|---|---|
| private final boolean keyIsNullable | |
| keyIsUpdateable | back to summary |
|---|---|
| private final boolean keyIsUpdateable | |
| OneToManyPersister | back to summary |
|---|---|
| public OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) throws MappingException, CacheException | |
| consumesCollectionAlias | back to summary |
|---|---|
| public boolean consumesCollectionAlias() Implements org. Doc from org. Very, very, very ugly...
| |
| consumesEntityAlias | back to summary |
|---|---|
| public boolean consumesEntityAlias() Implements org. Doc from org. Very, very, very ugly...
| |
| createCollectionInitializer | back to summary |
|---|---|
| protected CollectionInitializer createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers) throws MappingException Implements abstract org. Create the OneToManyLoader
| |
| createSubselectInitializer | back to summary |
|---|---|
| protected CollectionInitializer createSubselectInitializer(SubselectFetch subselect, SharedSessionContractImplementor session) Implements abstract org.
| |
| doProcessQueuedOps | back to summary |
|---|---|
| protected void doProcessQueuedOps(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session) throws HibernateException Implements abstract org.
| |
| doUpdateRows | back to summary |
|---|---|
| protected int doUpdateRows(Serializable id, PersistentCollection collection, SharedSessionContractImplementor session) Implements abstract org.
| |
| filterFragment | back to summary |
|---|---|
| public String filterFragment(String alias) throws MappingException Overrides org.
| |
| filterFragment | back to summary |
|---|---|
| protected String filterFragment(String alias, Set<String> treatAsDeclarations) throws MappingException Overrides org.
| |
| fromJoinFragment | back to summary |
|---|---|
| public String fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses) Implements org. Doc from org. Get the from clause part of any joins (optional operation)
| |
| fromJoinFragment | back to summary |
|---|---|
| public String fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses, Set<String> treatAsDeclarations) Implements org. Doc from org. Get the from clause part of any joins (optional operation)
| |
| generateDeleteRowString | back to summary |
|---|---|
| protected String generateDeleteRowString() Implements abstract org. Generate the SQL UPDATE that updates a particular row's foreign key to null
| |
| generateDeleteString | back to summary |
|---|---|
| protected String generateDeleteString() Implements abstract org. Generate the SQL UPDATE that updates all the foreign keys to null
| |
| generateInsertRowString | back to summary |
|---|---|
| protected String generateInsertRowString() Implements abstract org. Generate the SQL UPDATE that updates a foreign key to a value
| |
| generateUpdateRowString | back to summary |
|---|---|
| protected String generateUpdateRowString() Implements abstract org. Generate the SQL UPDATE that inserts a collection index
| |
| getElementByIndex | back to summary |
|---|---|
| public Object getElementByIndex(Serializable key, Object index, SharedSessionContractImplementor session, Object owner) Overrides org. Implements org.
| |
| getFilterAliasGenerator | back to summary |
|---|---|
| public FilterAliasGenerator getFilterAliasGenerator(String rootAlias) Implements abstract org.
| |
| getTableName | back to summary |
|---|---|
| public String getTableName() Overrides org. Implements org. Doc from org. The table to join to.
| |
| insertRows | back to summary |
|---|---|
| public void insertRows(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session) throws HibernateException Overrides org. Implements org. Doc from org. Insert the persistent state of any new collection elements
| |
| isCascadeDeleteEnabled | back to summary |
|---|---|
| public boolean isCascadeDeleteEnabled() Implements org. Doc from org. Is cascade delete handled by the database-level foreign key constraint definition? | |
| isManyToMany | back to summary |
|---|---|
| public boolean isManyToMany() Implements abstract org. Implements org. Doc from org. Is this a many-to-many association? Note that this is mainly a convenience feature as the single persister does not contain all the information needed to handle a many-to-many itself, as internally it is looked at as two many-to-ones.
| |
| isOneToMany | back to summary |
|---|---|
| public boolean isOneToMany() Implements org. Doc from org. Is this a one-to-many association? | |
| isRowDeleteEnabled | back to summary |
|---|---|
| protected boolean isRowDeleteEnabled() Overrides org.
| |
| isRowInsertEnabled | back to summary |
|---|---|
| protected boolean isRowInsertEnabled() Overrides org.
| |
| recreate | back to summary |
|---|---|
| public void recreate(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session) throws HibernateException Overrides org. Implements org. Doc from org. (Re)create the collection's persistent state
| |
| selectFragment | back to summary |
|---|---|
| public String selectFragment(Joinable rhs, String rhsAlias, String lhsAlias, String entitySuffix, String collectionSuffix, boolean includeCollectionColumns) Implements org. Doc from org. All columns to select, when loading. | |
| whereJoinFragment | back to summary |
|---|---|
| public String whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses) Implements org. Doc from org. Get the where clause part of any joins (optional operation)
| |
| whereJoinFragment | back to summary |
|---|---|
| public String whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses, Set<String> treatAsDeclarations) Implements org. Doc from org. Get the where clause part of any joins (optional operation)
| |
| writeIndex | back to summary |
|---|---|
| private void writeIndex(PersistentCollection collection, Iterator<E> entries, Serializable id, boolean resetIndex, SharedSessionContractImplementor session) | |