You can read the log file is you set log for WARN.Btw the two properties are
available only in web.config file (you can use both web.config and external
file config).
Why ? because for both NH need an instance before anything else.

Don't forget to take a look to ProxyGenerator project.
http://nhforge.org/wikis/proxygenerators10/default.aspx

2009/4/22 Morten Maxild <[email protected]>

>  Hi,
>
>
>
> I am trying to get NH to run in medium trust and would like disable the
> reflection-optimizer and bytecode-provider. But the two system properties
> are ignored when reading the config file, and warnings are written to
> log4net. I can see this was done back in R2923.
>
>
>
>  What are the reasons for ignoring the system properties? And is it
> possible and correct to programmatically do something like this?
>
>
>
> <hibernate-configuration  xmlns="urn:nhibernate-configuration-2.2" >
>
> <!-- Important under Medium Trust, I guess??? -->
>
>                       <bytecode-provider type="null"/>
>
>                       <reflection-optimizer use="false" />
>
> …..
>
>
>
> BTW I am running on the trunk R4174.
>
>
>
> Kind regards
>
> Maxild
>
> >
>


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

Reply via email to