in the session-factory configuration use this <property name="use_proxy_validator">false</property>
To have the same behavior of H3.2.6 2008/10/30 Fabio Maulo <[EMAIL PROTECTED]> > Welcome to .NET world.1) In .NET we don't have same proxy systems you are > using in JAVA. > 2) in .NET many developers are using fields instead of encapsulated > properties > > You can avoid the ProxyValidator (may be only in trunk) to have the same > H3.2.6 behavior (WARN for properties accessors instead exception). > > 2008/10/30 JohnInJax <[EMAIL PROTECTED]> > > >> I am new to NH, but I have used Hibernate for a long time. I am >> setting up my first NH project. I am getting exceptions saying that I >> have to make ALL my methods virtual. Even the ones that have nothing >> to do with persistence. Am I doing something wrong? This doesn't seem >> to make since. Is there a way to say only "proxy" what is in the hbm >> file? >> >> Thanks, >> >> John >> >> >> >> > > > -- > Fabio Maulo > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
