| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | OneToManyPersister(Collection collection, CollectionRegionAccessStrategy cacheAccessStrategy, Configuration cfg, SessionFactoryImplementor factory)
|
| cascadeDeleteEnabled | back to summary |
|---|---|
| private final boolean cascadeDeleteEnabled | |
| keyIsNullable | back to summary |
|---|---|
| private final boolean keyIsNullable | |
| keyIsUpdateable | back to summary |
|---|---|
| private final boolean keyIsUpdateable | |
| OneToManyPersister | back to summary |
|---|---|
| public OneToManyPersister(Collection collection, CollectionRegionAccessStrategy cacheAccessStrategy, Configuration cfg, SessionFactoryImplementor factory) 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, SessionImplementor session) Implements abstract org. | |
| doUpdateRows | back to summary |
|---|---|
| protected int doUpdateRows(Serializable id, PersistentCollection collection, SessionImplementor session) throws HibernateException Implements abstract org. | |
| filterFragment | back to summary |
|---|---|
| public String filterFragment(String alias) 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) | |
| 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. Not needed for one-to-many association | |
| getElementByIndex | back to summary |
|---|---|
| public Object getElementByIndex(Serializable key, Object index, SessionImplementor session, Object owner) Overrides org. Implements org. | |
| getTableName | back to summary |
|---|---|
| public String getTableName() Overrides org. Implements org. Doc from org. The table to join to. | |
| 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 conatin 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. | |
| 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) | |