Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Did you try</p> <pre><code>&lt;add key="hibernate.use_reflection_optimizer" value="false" /&gt; </code></pre> <p>? <hr/> <a href="https://forum.hibernate.org/viewtopic.php?t=970014" rel="nofollow noreferrer"><strong>From the Hibernate Community:</strong></a></p> <blockquote> <p>I was able to set the hibernate.use_reflection_optimizer property in the web.config file as follows. Note that the setting did not work within the hibernate-configuration section, so I had to place it in a new nhibernate section. The code now appears to be working in a medium trust environment ( godaddy )</p> </blockquote> <pre><code> &lt;configSections&gt; &lt;section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" requirePermission="false"/&gt; &lt;section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/&gt; &lt;/configSections&gt; &lt;hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"&gt; &lt;session-factory&gt; &lt;property name="connection.provider"&gt;NHibernate.Connection.DriverConnectionProvider&lt;/property&gt; &lt;property name="dialect"&gt;NHibernate.Dialect.MySQLDialect&lt;/property&gt; &lt;property name="connection.driver_class"&gt;NHibernate.Driver.MySqlDataDriver&lt;/property&gt; &lt;property name="connection.connection_string"&gt;blahblah&lt;/property&gt; &lt;/session-factory&gt; &lt;/hibernate-configuration&gt; &lt;nhibernate&gt; &lt;add key="hibernate.use_reflection_optimizer" value="false" /&gt; &lt;/nhibernate&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload