Skip to content

Commit

Permalink
SVN: trunk@3893
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomaulo committed Nov 7, 2008
1 parent c6072e6 commit 196a018
Show file tree
Hide file tree
Showing 50 changed files with 94 additions and 2,929 deletions.
20 changes: 10 additions & 10 deletions default.build
Expand Up @@ -26,10 +26,10 @@
<include name="Iesi.Collections/Iesi.Collections.build" /> <include name="Iesi.Collections/Iesi.Collections.build" />
<include name="Iesi.Collections.Test/Iesi.Collections.Test.build" /> <include name="Iesi.Collections.Test/Iesi.Collections.Test.build" />
<include name="NHibernate/NHibernate.build" /> <include name="NHibernate/NHibernate.build" />
<include name="NHibernate.ProxyGenerators.LinFuDynamicProxy/ProxyGenerators.build" /> <include name="NHibernate.ByteCode.LinFu/ByteCode.build" />
<include name="NHibernate.ProxyGenerators.LinFuDynamicProxy.Tests/ProxyGenerators.Test.build" /> <include name="NHibernate.ByteCode.LinFu.Tests/ByteCode.Test.build" />
<include name="NHibernate.ProxyGenerators.CastleDynamicProxy/ProxyGenerators.build" /> <include name="NHibernate.ByteCode.Castle/ByteCode.build" />
<include name="NHibernate.ProxyGenerators.CastleDynamicProxy.Tests/ProxyGenerators.Test.build" /> <include name="NHibernate.ByteCode.Castle.Tests/ByteCode.Test.build" />
<include name="NHibernate.DomainModel/NHibernate.DomainModel.build" /> <include name="NHibernate.DomainModel/NHibernate.DomainModel.build" />
<include name="NHibernate.Test/NHibernate.Test.build" /> <include name="NHibernate.Test/NHibernate.Test.build" />
<include name="NHibernate.Test.Performance/NHibernate.Test.Performance.build" /> <include name="NHibernate.Test.Performance/NHibernate.Test.Performance.build" />
Expand All @@ -39,8 +39,8 @@


<fileset id="buildfiles.tests" basedir="src"> <fileset id="buildfiles.tests" basedir="src">
<include name="Iesi.Collections.Test/Iesi.Collections.Test.build" /> <include name="Iesi.Collections.Test/Iesi.Collections.Test.build" />
<include name="NHibernate.ProxyGenerators.LinFuDynamicProxy.Tests/ProxyGenerators.Test.build" /> <include name="NHibernate.ByteCode.LinFu.Tests/ByteCode.Test.build" />
<include name="NHibernate.ProxyGenerators.CastleDynamicProxy.Tests/ProxyGenerators.Test.build" /> <include name="NHibernate.ByteCode.Castle.Tests/ByteCode.Test.build" />
<include name="NHibernate.Test/NHibernate.Test.build" /> <include name="NHibernate.Test/NHibernate.Test.build" />
<include name="NHibernate.Test.Performance/NHibernate.Test.Performance.build" <include name="NHibernate.Test.Performance/NHibernate.Test.Performance.build"
if="${run.performance.tests}" /> if="${run.performance.tests}" />
Expand Down Expand Up @@ -89,10 +89,10 @@
--> -->
<exclude name="Iesi.Collections.dll" /> <exclude name="Iesi.Collections.dll" />
<exclude name="Iesi.Collections.xml" /> <exclude name="Iesi.Collections.xml" />
<exclude name="NHibernate.ProxyGenerators.LinFuDynamicProxy.dll" /> <exclude name="NHibernate.ByteCode.LinFuDynamicProxy.dll" />
<exclude name="NHibernate.ProxyGenerators.LinFuDynamicProxy.xml" /> <exclude name="NHibernate.ByteCode.LinFuDynamicProxy.xml" />
<exclude name="NHibernate.ProxyGenerators.CastleDynamicProxy.dll" /> <exclude name="NHibernate.ByteCode.CastleDynamicProxy.dll" />
<exclude name="NHibernate.ProxyGenerators.CastleDynamicProxy.xml" /> <exclude name="NHibernate.ByteCode.CastleDynamicProxy.xml" />
<include name="*.dll" /> <include name="*.dll" />
<include name="*.xml" /> <include name="*.xml" />
<include name="*.license.txt" /> <include name="*.license.txt" />
Expand Down
6 changes: 4 additions & 2 deletions releasenotes.txt
Expand Up @@ -2,15 +2,17 @@ Build 2.1.0.GA
======================== ========================
** BREAKING CHANGES from NH2.0.xGA to NH2.1.0 ** BREAKING CHANGES from NH2.0.xGA to NH2.1.0
##### Run time ##### ##### Run time #####
* If you want work using lazy loading with Castle.DynamicProxy2 now you must deploy NHibernate.ProxyGenerators.CastleDynamicProxy.dll * If you want work using lazy loading with LinFu.DynamicProxy now you must deploy NHibernate.ByteCode.LinFu.dll
* If you want work using lazy loading with Castle.DynamicProxy2 now you must deploy NHibernate.ByteCode.Castle.dll


##### Possible Breaking Changes for external frameworks ##### ##### Possible Breaking Changes for external frameworks #####
* ISession interface have additional methods * ISession interface have additional methods
* DefaultProxyFactoryFactory moved to NHibernate.Bytecode.Castle.ProxyFactoryFactory * DefaultProxyFactoryFactory removed
* IProxyFactoryFactory now provide the IProxyValidator implementation * IProxyFactoryFactory now provide the IProxyValidator implementation


##### Initialization time ##### ##### Initialization time #####
* The ProxyValidator check for "internal virtual" (to be intercepted by proxy need "protected internal virtual") * The ProxyValidator check for "internal virtual" (to be intercepted by proxy need "protected internal virtual")
* The session-factory configuration property "proxyfactory.factory_class" is mandatory; You must choose one of the availables NHibernate.ByteCode




Build 2.0.1.GA Build 2.0.1.GA
Expand Down
3 changes: 2 additions & 1 deletion src/NHibernate.Config.Templates/FireBird.cfg.xml.tmpl
Expand Up @@ -24,7 +24,8 @@ for your own use before compile tests in VisualStudio.
</property> </property>
<property name="show_sql">false</property> <property name="show_sql">false</property>
<property name="dialect">NHibernate.Dialect.FirebirdDialect</property> <property name="dialect">NHibernate.Dialect.FirebirdDialect</property>
<property name="command_timeout">444</property> <property name="command_timeout">60</property>
<property name="query.substitutions">true 1, false 0, yes 1, no 0</property> <property name="query.substitutions">true 1, false 0, yes 1, no 0</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory> </session-factory>
</hibernate-configuration> </hibernate-configuration>
3 changes: 2 additions & 1 deletion src/NHibernate.Config.Templates/MSSQL.cfg.xml.tmpl
Expand Up @@ -15,7 +15,8 @@ for your own use before compile tests in VisualStudio.
<property name="show_sql">false</property> <property name="show_sql">false</property>
<property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
<property name="use_outer_join">true</property> <property name="use_outer_join">true</property>
<property name="command_timeout">444</property> <property name="command_timeout">60</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory> </session-factory>
</hibernate-configuration> </hibernate-configuration>
1 change: 1 addition & 0 deletions src/NHibernate.Config.Templates/MySql.cfg.xml.tmpl
Expand Up @@ -12,5 +12,6 @@ for your own use before compile tests in VisualStudio.
Database=test;Data Source=someip;User Id=blah;Password=blah Database=test;Data Source=someip;User Id=blah;Password=blah
</property> </property>
<property name="dialect">NHibernate.Dialect.MySQLDialect</property> <property name="dialect">NHibernate.Dialect.MySQLDialect</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory> </session-factory>
</hibernate-configuration> </hibernate-configuration>
1 change: 1 addition & 0 deletions src/NHibernate.Config.Templates/Oracle.cfg.xml.tmpl
Expand Up @@ -14,5 +14,6 @@ for your own use before compile tests in VisualStudio.
<property name="show_sql">false</property> <property name="show_sql">false</property>
<property name="dialect">NHibernate.Dialect.OracleDialect</property> <property name="dialect">NHibernate.Dialect.OracleDialect</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory> </session-factory>
</hibernate-configuration> </hibernate-configuration>
1 change: 1 addition & 0 deletions src/NHibernate.Config.Templates/PostgreSQL.cfg.xml.tmpl
Expand Up @@ -11,5 +11,6 @@ for your own use before compile tests in VisualStudio.
Server=localhost;initial catalog=nhibernate;User ID=nhibernate;Password=nhibernate; Server=localhost;initial catalog=nhibernate;User ID=nhibernate;Password=nhibernate;
</property> </property>
<property name="dialect">NHibernate.Dialect.PostgreSQLDialect</property> <property name="dialect">NHibernate.Dialect.PostgreSQLDialect</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory> </session-factory>
</hibernate-configuration> </hibernate-configuration>
1 change: 1 addition & 0 deletions src/NHibernate.Config.Templates/SQLite.cfg.xml.tmpl
Expand Up @@ -12,5 +12,6 @@ for your own use before compile tests in VisualStudio.
</property> </property>
<property name="dialect">NHibernate.Dialect.SQLiteDialect</property> <property name="dialect">NHibernate.Dialect.SQLiteDialect</property>
<property name="query.substitutions">true=1;false=0</property> <property name="query.substitutions">true=1;false=0</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory> </session-factory>
</hibernate-configuration> </hibernate-configuration>
34 changes: 30 additions & 4 deletions src/NHibernate.Everything.sln
Expand Up @@ -99,11 +99,15 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "NHibernate.Example.Web", "N
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Tool.HbmXsd", "NHibernate.Tool.HbmXsd\NHibernate.Tool.HbmXsd.csproj", "{446E148D-A9D5-4D7D-A706-BEDD45B2BC7D}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.Tool.HbmXsd", "NHibernate.Tool.HbmXsd\NHibernate.Tool.HbmXsd.csproj", "{446E148D-A9D5-4D7D-A706-BEDD45B2BC7D}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Default proxy generator", "Default proxy generator", "{D2E4E87F-2531-4C7A-BBE9-FE8BFEDECECE}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ByteCode providers", "ByteCode providers", "{D2E4E87F-2531-4C7A-BBE9-FE8BFEDECECE}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.ProxyGenerators.CastleDynamicProxy", "NHibernate.ProxyGenerators.CastleDynamicProxy\NHibernate.ProxyGenerators.CastleDynamicProxy.csproj", "{31C3F0EA-0FED-4A2F-B68D-96CE29844487}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.ByteCode.Castle", "NHibernate.ByteCode.Castle\NHibernate.ByteCode.Castle.csproj", "{31C3F0EA-0FED-4A2F-B68D-96CE29844487}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.ProxyGenerators.CastleDynamicProxy.Tests", "NHibernate.ProxyGenerators.CastleDynamicProxy.Tests\NHibernate.ProxyGenerators.CastleDynamicProxy.Tests.csproj", "{4972EE96-2417-4D47-9FF1-3B1D6B1D3191}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.ByteCode.Castle.Tests", "NHibernate.ByteCode.Castle.Tests\NHibernate.ByteCode.Castle.Tests.csproj", "{4972EE96-2417-4D47-9FF1-3B1D6B1D3191}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.ByteCode.LinFu", "NHibernate.ByteCode.LinFu\NHibernate.ByteCode.LinFu.csproj", "{8289D6AD-9714-42D3-A94D-D4D9814D1281}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NHibernate.ByteCode.LinFu.Tests", "NHibernate.ByteCode.LinFu.Tests\NHibernate.ByteCode.LinFu.Tests.csproj", "{94FDD99B-8275-4E51-8F43-958B2C632120}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -226,6 +230,26 @@ Global
{4972EE96-2417-4D47-9FF1-3B1D6B1D3191}.Release|Any CPU.Build.0 = Release|Any CPU {4972EE96-2417-4D47-9FF1-3B1D6B1D3191}.Release|Any CPU.Build.0 = Release|Any CPU
{4972EE96-2417-4D47-9FF1-3B1D6B1D3191}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {4972EE96-2417-4D47-9FF1-3B1D6B1D3191}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{4972EE96-2417-4D47-9FF1-3B1D6B1D3191}.Release|Mixed Platforms.Build.0 = Release|Any CPU {4972EE96-2417-4D47-9FF1-3B1D6B1D3191}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Debug|.NET.ActiveCfg = Debug|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Release|.NET.ActiveCfg = Release|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Release|Any CPU.Build.0 = Release|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{8289D6AD-9714-42D3-A94D-D4D9814D1281}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Debug|.NET.ActiveCfg = Debug|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Debug|Any CPU.Build.0 = Debug|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Release|.NET.ActiveCfg = Release|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Release|Any CPU.ActiveCfg = Release|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Release|Any CPU.Build.0 = Release|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{94FDD99B-8275-4E51-8F43-958B2C632120}.Release|Mixed Platforms.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
Expand All @@ -246,8 +270,10 @@ Global
{446E148D-A9D5-4D7D-A706-BEDD45B2BC7D} = {92509065-DAEA-4457-8300-C7B64CD0E9F4} {446E148D-A9D5-4D7D-A706-BEDD45B2BC7D} = {92509065-DAEA-4457-8300-C7B64CD0E9F4}
{4C251E3E-6EA1-4A51-BBCB-F9C42AE55344} = {C91E7018-3C67-4830-963A-C388C75E1BD5} {4C251E3E-6EA1-4A51-BBCB-F9C42AE55344} = {C91E7018-3C67-4830-963A-C388C75E1BD5}
{58CE4584-31B9-4E74-A7FB-5D40BFAD0876} = {C91E7018-3C67-4830-963A-C388C75E1BD5} {58CE4584-31B9-4E74-A7FB-5D40BFAD0876} = {C91E7018-3C67-4830-963A-C388C75E1BD5}
{31C3F0EA-0FED-4A2F-B68D-96CE29844487} = {D2E4E87F-2531-4C7A-BBE9-FE8BFEDECECE}
{4972EE96-2417-4D47-9FF1-3B1D6B1D3191} = {D2E4E87F-2531-4C7A-BBE9-FE8BFEDECECE} {4972EE96-2417-4D47-9FF1-3B1D6B1D3191} = {D2E4E87F-2531-4C7A-BBE9-FE8BFEDECECE}
{8289D6AD-9714-42D3-A94D-D4D9814D1281} = {D2E4E87F-2531-4C7A-BBE9-FE8BFEDECECE}
{94FDD99B-8275-4E51-8F43-958B2C632120} = {D2E4E87F-2531-4C7A-BBE9-FE8BFEDECECE}
{31C3F0EA-0FED-4A2F-B68D-96CE29844487} = {D2E4E87F-2531-4C7A-BBE9-FE8BFEDECECE}
EndGlobalSection EndGlobalSection
GlobalSection(TextTemplating) = postSolution GlobalSection(TextTemplating) = postSolution
TextTemplating = 1 TextTemplating = 1
Expand Down
1 change: 1 addition & 0 deletions src/NHibernate.Example.Web/Web.Config
Expand Up @@ -61,6 +61,7 @@
</property> </property>
<property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
<property name="current_session_context_class">managed_web</property> <property name="current_session_context_class">managed_web</property>
<property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
</session-factory> </session-factory>
</hibernate-configuration> </hibernate-configuration>


Expand Down
102 changes: 0 additions & 102 deletions src/NHibernate.ProxyGenerators.CastleDynamicProxy.Tests/App.config

This file was deleted.

This file was deleted.

0 comments on commit 196a018

Please sign in to comment.