Just to let you know, I'm still looking for a solution of the
following problem:

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.

For now the solution I see is to modify myself the NHibernate code,
test and send you
the patch. Do you have any other sugestion? 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