MS SQL 2005 で正しく動作します。ファイルを MS SQL 2008 に書き換える方法????
<?xml version="1.0" encoding="utf-8"?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory,NHibernate.ByteCode.Castle</property>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
<property name="connection.connection_string">Data Source=XXX.XXX.XXX.XXX,XXXXX;Initial Catalog=XXXXXXX;MultipleActiveResultSets=True;Persist Security Info=True;User ID=XXX;Password=XXX</property>
<property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
<property name="show_sql">true</property>
</session-factory>
</hibernate-configuration>