Recently I ran into a problem. Quite well designed system degraded in terms of performance after a few commits. The whole architecture is wired with an infrastructure library written with unity container as a base for dependency injection. One of its features is a simple adding proxies, for instance adding some information to an exception's … Continue reading You don’t mess with Unity’s policies
I've read a few articles about documenting a project in a way that make it more usable for non-authors. As I published Themis' first version, there was a need of providing some documentation and that was the thing which occupied me recently. There still are a few pages which should be written and I hope … Continue reading Recent tasks
I know it took a while, but a few minutes ago I committed the version of Themis capable of fully integrated working with NHibernate. I hope I'll manage to add build scripts and the very first binary version of it today.
The solution to the question, what can go wrong with NHibernate, when you use interfaces as your entities mapped with NH is... naming. When you try to save a transient object, to make it persistent with NH, you call ISession.Save(object) method. If you drilled down its implementation you'd see that it fires NH's event SaveOrUpdateEvent … Continue reading NHibernating with interfaces as entities, pt. 2