Fabio, what do you think about this problem? Thanks!

On Tue, Mar 23, 2010 at 6:15 PM, Simon Duduica <[email protected]> wrote:

> And now another problem I falled onto:
>
> For an audited entity say Address, Envers creates an associated table
> Address_AUD to store the revisions. The table is mapped using Hibernate even
> if there is no real class Address_AUD to map to. My port throws an error due
> to two differences I found, for my mapping that i posted before:
>
> 1. ClassCompositeIdBinder.BindComponent sets IsEmbeded = true while in Java
> the equivalent HbmBinder.bindComponent calls setDynamic(true)
>
> 2. Later on, in ClassCompositeIdBinder.BindComponent, when it calls
> CreateProperty it tries to pass compositeId.ComponentClass and the getter
> throws a MappingException because componentClass is null and the Component
> is not Dynamic.
>
> Can you please advice on what should I do in this situation? Any help
> greatly appreciated!
>

-- 
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhcdevs?hl=en.

Reply via email to