Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I found the answer here:</p> <p><a href="http://blog.domaindotnet.com/2008/08/24/nhibernate-20-gold-released-must-wait-for-linq-to-nhibernate/" rel="nofollow noreferrer">http://blog.domaindotnet.com/2008/08/24/nhibernate-20-gold-released-must-wait-for-linq-to-nhibernate/</a></p> <h1>gold release 2.0.0.GA</h1> <h2>BREAKING CHANGES from NH1.2.1GA to NH2.0.0</h2> <ul> <li> <h2>Infrastructure</h2> <ul> <li>.NET 1.1 is no longer supported</li> <li>Nullables.NHibernate is no longer supported (use nullable types of .NET 2.0)</li> <li>Contrib moved. New Location <ul> <li><a href="http://sourceforge.net/projects/nhcontrib" rel="nofollow noreferrer">http://sourceforge.net/projects/nhcontrib</a></li> </ul> </li> </ul> </li> <li> <h2>Compile time</h2> <ul> <li>NHibernate.Expression namespace was renamed to NHibernate.Criterion</li> <li>IInterceptor have additional methods. (IsUnsaved was renamed IsTransient)</li> <li>INamingStrategy</li> <li>IType</li> <li>IEntityPersister</li> <li>IVersionType</li> <li>IBatcher</li> <li>IUserCollectionType</li> <li>IEnhancedUserType</li> <li>IPropertyAccessor</li> <li>ValueTypeType renamed to PrimitiveType</li> </ul> </li> <li> <h2>Possible Breaking Changes for external frameworks</h2> </li> </ul> <ul> <li>Various classes were moved between namespaces</li> <li>Various classes have been renamed (to match Hibernate 3.2 names)</li> <li>ISession interface have additional methods</li> <li>ICacheProvider</li> <li>ICriterion</li> <li>CriteriaQueryTranslator</li> </ul> <p><li></p> <h2>Initialization time</h2> <p></li></p> <ul> <li>&lt;nhibernate&gt; section, in App.config, is no longer supported and will be ignored. Configuration schema for configuration file and App.config is now identical, and the App.config section name is: &lt;hibernate-configuration&gt;</li> <li>&lt;hibernate-configuration&gt; have a different schema and all properties names are cheked</li> <li>configuration properties are no longer prefixed by “hibernate.”, if before you would specify “hibernate.dialect”, now you specify just “dialect”</li> <li>All named queries will be validated at initialization time, an exception will be thrown if any is not valid (can be disabled if needed)</li> <li>Stricter checks for proxying classes (all public methods must be virtual)</li> </ul> <p><li></p> <h2>Run time</h2> <ul> <li>SaveOrUpdateCopy() returns a new instance of the entity without changing the original</li> <li>AutoFlush will not occur outside a transaction - Database transactions are never optional, all communication with the database must occur inside a transaction, whatever you read or write data.</li> <li>NHibernate will return long for count(*) queries on SQL Server</li> <li>&lt;formula&gt; must contain parenthesis when needed</li> <li>These HQL function names may cause conflict in your HQL reserved names are: <ul> <li>substring</li> <li>locate</li> <li>trim</li> <li>length</li> <li>bit_length</li> <li>coalesce</li> <li>nullif</li> <li>abs</li> <li>mod</li> <li>sqrt</li> <li>upper</li> <li>lower</li> <li>cast</li> <li>extract</li> <li>concat</li> <li>current_timestamp</li> <li>sysdate</li> <li>second</li> <li>minute</li> <li>hour</li> <li>day</li> <li>month</li> <li>year</li> <li>str</li> </ul> </li> <li>&lt;any&gt; when meta-type=”class” the persistent type is a string containing the Class.FullName <ul> <li>In order to set a parameter in a query you must use SetParameter(”paraName”, typeof(YourClass).FullName, NHibernateUtil.ClassMetaType)</li> </ul> </li> </ul> <p></li> <li></p> <h2>Mapping</h2> <p></li> <li>&lt;any&gt; : default meta-type is “string” (was “class”)</li></p>
    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.
    2. 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