This question has been asked before, but I never had any luck.  I got
some advice from Ayende and Fabio, but nothing every materialized as
far as a solution goes.  Here's my dilemma.  I need to come up with a
solution where versioning tables consists of ALWAYS inserting, even
when the identifier exists.  The table will have a primary key that's
comprised of a numeric identity column and the version column (a
composite key).  Thus, the history of entity state is preserved in the
same table.  I'm not suggesting this is the best database design;
however, it's a legacy schema that I have to work with.  The
Interceptor API in NHibernate 1.2 seemed to be close to providing this
ability, but I ultimately had some issues that couldn't be solved.
The EventListener in 2.x doesn't seem to do the trick either.  Has
NHibernate 2.1 Alpha 3 (ultimately 2.1 beta) given way to any
advancements towards this goal?

  Thanks for any input/advice.
--~--~---------~--~----~------------~-------~--~----~
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