Collection Proxies can't be initialized with NHIbernateUtil.Initialize

Description

NHibernateUtil.Initialize can't be used for Evners collection proxies. For non-collection proxies however it already works ok.
It would be nice, if we could use NHibernateUtil.IsInitialized as well as NHibernateUtil.Initialize for Envers collection proxies too.

The CreateToOneProxy in DefaultEnversProxyFactory already produces a proxy which can be used by NHibernateUtil.Initialize to Force-Initialize the collection. The CreateCollectionProxy should return an implementation of IPersistentCollection, which it doesn't do yet.

Environment

None

Activity

Show:

Dominic Ullmann December 29, 2017 at 10:51 AM

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created December 29, 2017 at 10:06 AM
Updated March 21, 2018 at 10:20 AM
Resolved March 21, 2018 at 9:52 AM
Who's Looking?