It's the whole class which gets proxied, not just the individual
properties and methods. I believe you can generate an interface to use
as a proxy instead of making them all virtual but I'm not sure if that
would be easier for you or not.

On Oct 30, 3:10 am, JohnInJax <[EMAIL PROTECTED]> wrote:
> 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

--~--~---------~--~----~------------~-------~--~----~
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