-
A new Dynamic-Proxy provider is available in NHibernate trunk ( here the others two) Erich Eichinger (Spring.NET team member) sent us the implementation of NHibernate.ByteCode.Spring . The property to configure is < property name = " proxyfactory.factory_class " > NHibernate.ByteCode...
-
This post is an update of “Reference to Castle removed” . In the trunk we had removed all dependency from any kind of “Proxy framework” trough various implementations of IProxyFactoryFactory . There is not a specific default Proxy-framework and now the set of proxyfactory.factory_class...
-
Some years ago a phrase broke my mind: “Program to an interface and not to an implementation” As you probably know the phrase is one of the famous Gang of Four . Is the phrase valid even for entities ? I definitive think that the answer is yes for various reason; from dyn-proxy, for lazy...
-
The NH trunk do no longer have dependency from Castle project; Castle.DynamicProxy2 are now only the default option. All dependency to Castle was moved to : NHibernate.ProxyGenerators.CastleDynamicProxy To continue working using lazy-loading, exactly as before, now you must deploy the default proxy generator...
-
I am pleased to announce the release of NHibernate ProxyGenerators 1.0.0 Beta. This release uses NHibernate 2.0.1 GA, allows you to specify a dialect to use when generating proxies (thank you Jaroslav Martásek), and includes example usage with ActiveRecord. Please visit NHForge.org for downloads...
-
I am pleased to announce the first release of NHibernate ProxyGenerators , the latest addition to the NHibernate Contrib project. NHibernate ProxyGenerators (NHPG) is a simple utility that you can use to pre-generate lazy loading proxies for use with NHibernate. Why would you want to...
-
NOTE: This post was originally published on July 4, 2008 I love NHibernate but one of the things that bothers the hell out of me is that i keep forgetting to add the virtual keyword to each method or property in my entities. And since NHibernate needs your classes' properties and methods to be virtual...