Not supported.

The issue for related many-to-any is here 
https://nhibernate.jira.com/projects/NHE/issues/NHE-61.



From: [email protected] [mailto:[email protected]] On Behalf Of 
César Pistiner
Sent: den 8 januari 2016 15:11
To: [email protected]
Subject: [nhusers] Envers with <any> property

Hi!!

I have a problem with Envers. If anyone working with this framework I leave a 
question.

I'm trying to audit a company that has a property whose type is an interface 
and the mapping of it is an any. This Envers does not like or does not support 
it.

Does anyone had this problem ? It has a solution?

I leave a model of what I am wanting to audit.

Class
public class DetalleMovimientoDeStock
{
  _almacenable private IAlmacenable ;

  IAlmacenable public Storable
  {
     _almacenable get {return ; }
     set { _almacenable = value ; }
   }
}

Mapping
<class name = " DetalleMovimientoDeStock " table = " DetalleMovimientoDeStock ">
   <any name = " Storable " id - type = " Guid ">
      <column name = " ClassAlmacenable " />
      <column name = " IdAlmacenable " />
   < / any>
< / class>

Regards,
César
--
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to