1. There seems no place to override a collectionPersister for collection mapping?
2. When I use Interceptor, I cannot intercept and object in a collection defined in <composite-element> under a <bag> or any other collection.
Code:
<bag name="dataPrivileges" table="SECDATA.SEC_GROUP_HAS_PRIVILEGE" lazy="true">
<jcs-cache usage="read-write" />
<key column ="GROUP_ID" />
<composite-element class="Bmo.NHibernateDataAccess.Security.NHDaoGroupPrivilege, BmoNHibernateDataAccess">
<many-to-one name="privilege" column="VARIABLE_NAME" class="Bmo.Security.Privilege, BMO_APMS_DataObjects" outer-join="false"/>
<property name="dataRights" column="ACCESS_MODE_BINARY" />
<property name="updateDateTime" column="UPDATED_DATE" type="DateTime" />
<many-to-one name="updateUser" column="UPDATED_USER_ID" class="Bmo.NHibernateDataAccess.Security.NHDaoUserSecurityInfo, BmoNHibernateDataAccess" outer-join="false"/>
</composite-element>
</bag>