Hi,

I'm trying to add custom properties to the hibernate.cfg file to
control additional behaviour that we have extended in NH.
Unfortunately the NH XSD forces the Configure() step to fail as it
doesn't recognise my configuration.

I'd like to extend the configure class to, perhaps, intercept the
configuration and allow me to read the custom properties and strip
them out prior to NH using them, but the class doesn't provide
appropriate extension points to do so (i.e. I can't override the
"configure()" method).

I thought about creating my own configure class that wraps the NH one,
reads the properties myself and manually add them to the NH configure
class, but it seems a bit hacky.

Is there a cleaner solution?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to