Package ch.tocco.nice2.persist.core.impl.hibernate.interceptor
package ch.tocco.nice2.persist.core.impl.hibernate.interceptor
-
ClassDescriptionThis service exists so that
CollectionInitializer
can be accessed from different classes (instead of directly injecting them intoExtendedInitializeCollectionEventListener
).A default implementation ofCollectionInitializer
which uses theEntityQueryBuilder
andCountQueryBuilder
to load the collection, which means that allQueryBuilderInterceptor
will be used for the query.Creates anEntityInterceptor
forAbstractHibernateEntity
entities.CustomInitializeCollectionEventListener
that allows contributions for custom collection loading.Combines all contributedFieldResolverStrategy
with the default strategy.Resolves the virtual localized field to the actual localized field for the current locale (value → value_de).