Hello,
When using "global_with_modified_flag" configuration, does anyone know if
there is a way to control the column names used for the modified bit flag
set against a domain's property? Let me describe what I'm seeing:
I've created a simple class with 3 properties whose property names are
different from the column name. Here is an example of my fluent Nhibernate
mapping:
Table("SampleEntity");
Id(x => x.Id).Column("SampleID").GeneratedBy.Guid();
Map(x => x.Prop1).Column("Property_1");
Map(x => x.Prop2).Column("Property_2");
Map(x => x.Prop3).Column("Property_3");
For the audit, envers picks up the configured column names properly.
However, the root column name for the bit flag does not seem to come from
configuration. It seems to come only from the name of the property.
Audits for the prop columns go to the correct place, but the SQL generated
for the modified bit wants columns are called Prop1_MOD, Prop2_MOD, etc...
I expect it to honor Property_1_MOD, Property_2_MOD, etc...
Am I missing a setting somewhere that governs this behavior?
Thanks!
Alejandro
--
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.