Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can try and disable the NHibernate Config proxy validator. it seems to not work with mono.</p> <p>You can do this by adding: <code>&lt;property name="use_proxy_validator"&gt;false&lt;/property&gt;</code> in your app/web.config nhibernate section.</p> <p>For an example config with this property set, see here: <a href="http://www.mail-archive.com/nhusers@googlegroups.com/msg02109.html" rel="nofollow noreferrer">http://www.mail-archive.com/nhusers@googlegroups.com/msg02109.html</a></p> <p>or modify this:</p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;configuration&gt; &lt;configSections&gt; &lt;section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" /&gt; &lt;/configSections&gt; &lt;hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"&gt; &lt;session-factory&gt; &lt;!-- &lt;property name="dialect"&gt;NHibernate.Dialect.MsSql2005Dialect&lt;/property&gt; &lt;property name="connection.provider"&gt;NHibernate.Connection.DriverConnectionProvider&lt;/property&gt; &lt;property name="connection.driver_class"&gt;NHibernate.Driver.SqlClientDriver&lt;/property&gt; &lt;property name="connection.connection_string"&gt;Data Source=YOUR_DB_SERVER;Database=Northwind;User ID=YOUR_USERNAME;Password=YOUR_PASSWORD;&lt;/property&gt; &lt;property name="connection.isolation"&gt;ReadCommitted&lt;/property&gt; &lt;property name="default_schema"&gt;Northwind.dbo&lt;/property&gt; --&gt; &lt;!-- &lt;property name="dialect"&gt;NHibernate.Dialect.SQLiteDialect&lt;/property&gt; &lt;property name="connection.provider"&gt;NHibernate.Connection.DriverConnectionProvider&lt;/property&gt; &lt;property name="connection.driver_class"&gt;NHibernate.Driver.SQLiteDriver&lt;/property&gt; &lt;property name="connection.connection_string"&gt;Data Source=nhibernate.db;Version=3&lt;/property&gt; &lt;property name="query.substitutions"&gt;true=1;false=0&lt;/property&gt; --&gt; &lt;!-- mysql &lt;property name="dialect"&gt;NHibernate.Dialect.MySQLDialect&lt;/property&gt; &lt;property name="connection.provider"&gt;NHibernate.Connection.DriverConnectionProvider&lt;/property&gt; &lt;property name="connection.driver_class"&gt;NHibernate.Driver.MySqlDataDriver&lt;/property&gt; &lt;property name="connection.connection_string"&gt;Database=test&lt;/property&gt; --&gt; &lt;property name="connection.provider"&gt;NHibernate.Connection.DriverConnectionProvider&lt;/property&gt; &lt;property name="connection.driver_class"&gt;NHibernate.Driver.NpgsqlDriver&lt;/property&gt; &lt;property name="connection.connection_string"&gt;Server=localhost;database=test;User id=jrwren;password=yourpasswordhere.&lt;/property&gt; &lt;property name="dialect"&gt;NHibernate.Dialect.PostgreSQLDialect&lt;/property&gt; &lt;property name="use_proxy_validator"&gt;false&lt;/property&gt; &lt;!-- HBM Mapping Files --&gt; &lt;mapping assembly="Test.exe" /&gt; &lt;/session-factory&gt; &lt;/hibernate-configuration&gt; &lt;/configuration&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    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. VO
      singulars
      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