| Modifier and Type | Field and Description |
|---|---|
| private BasicBatchKey |
| Access | Constructor and Description |
|---|---|
| public | BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)
|
| updateBatchKey | back to summary |
|---|---|
| private BasicBatchKey updateBatchKey | |
| BasicCollectionPersister | back to summary |
|---|---|
| public BasicCollectionPersister(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 CollectionLoader
| |
| 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) Implements abstract org.
| |
| doUpdateRow | back to summary |
|---|---|
| private int doUpdateRow(Serializable id, PersistentCollection collection, SharedSessionContractImplementor session, Expectation expectation, boolean callable, boolean useBatch, List<E> elements, String sql, int count, int i) throws SQLException | |
| doUpdateRows | back to summary |
|---|---|
| protected int doUpdateRows(Serializable id, PersistentCollection collection, SharedSessionContractImplementor session) throws HibernateException Implements abstract 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 DELETE that deletes a particular row
| |
| generateDeleteString | back to summary |
|---|---|
| protected String generateDeleteString() Implements abstract org. Generate the SQL DELETE that deletes all rows
| |
| generateInsertRowString | back to summary |
|---|---|
| protected String generateInsertRowString() Implements abstract org. Generate the SQL INSERT that creates a new row
| |
| generateUpdateRowString | back to summary |
|---|---|
| protected String generateUpdateRowString() Implements abstract org. Generate the SQL UPDATE that updates a row
| |
| getFilterAliasGenerator | back to summary |
|---|---|
| public FilterAliasGenerator getFilterAliasGenerator(String rootAlias) Implements abstract org.
| |
| 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? | |
| manyToManySelectFragment | back to summary |
|---|---|
| private String manyToManySelectFragment(Joinable rhs, String rhsAlias, String lhsAlias, String collectionSuffix) | |
| 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)
| |