diff --git a/build-support/solutions/Spring.Net.NHibernate21.2005.sln b/build-support/solutions/Spring.Net.NHibernate21.2005.sln
index cf44e7d2..67d2615b 100644
--- a/build-support/solutions/Spring.Net.NHibernate21.2005.sln
+++ b/build-support/solutions/Spring.Net.NHibernate21.2005.sln
@@ -18,7 +18,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Release.AspNetCompiler.Debug = "False"
EndProjectSection
ProjectSection(SolutionItems) = preProject
- Spring.build = Spring.build
+ ..\..\Spring.build = ..\..\Spring.build
+ ..\..\src\Spring\Spring.Data.NHibernate21\Spring.Data.NHibernate21.build = ..\..\src\Spring\Spring.Data.NHibernate21\Spring.Data.NHibernate21.build
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.2005", "..\..\src\Spring\Spring.Data\Spring.Data.2005.csproj", "{AE00E5AB-C39A-436F-86D2-33BFE33E2E40}"
@@ -39,7 +40,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate21.Te
Release.AspNetCompiler.Debug = "False"
EndProjectSection
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate21.2005", "..\..\src\Spring\Spring.Data.NHibernate21\Spring.Data.NHibernate21.2005.csproj", "{71368632-B8B7-4A6A-8C65-8DA848120C82}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate21.2005", "..\..\src\Spring\Spring.Data.NHibernate21\Spring.Data.NHibernate21.2005.csproj", "{E57B4652-0231-49CB-B058-87E10EFE540D}"
ProjectSection(WebsiteProperties) = preProject
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.Debug = "False"
@@ -127,16 +128,16 @@ Global
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Any CPU.Build.0 = Release|Any CPU
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|.NET.ActiveCfg = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|.NET.ActiveCfg = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|Any CPU.Build.0 = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|.NET.ActiveCfg = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|.NET.ActiveCfg = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{ACD39D47-1811-40FA-9E7E-5DEA5B9CE6C0}.Debug|.NET.ActiveCfg = Debug|Any CPU
{ACD39D47-1811-40FA-9E7E-5DEA5B9CE6C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ACD39D47-1811-40FA-9E7E-5DEA5B9CE6C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
diff --git a/build-support/solutions/Spring.Net.NHibernate21.2008.sln b/build-support/solutions/Spring.Net.NHibernate21.2008.sln
index deed3a99..cce99c40 100644
--- a/build-support/solutions/Spring.Net.NHibernate21.2008.sln
+++ b/build-support/solutions/Spring.Net.NHibernate21.2008.sln
@@ -2,7 +2,8 @@ Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F04753EF-7A1B-4837-AB63-8C0821E8155D}"
ProjectSection(SolutionItems) = preProject
- Spring.build = Spring.build
+ ..\..\Spring.build = ..\..\Spring.build
+ ..\..\src\Spring\Spring.Data.NHibernate21\Spring.Data.NHibernate21.build = ..\..\src\Spring\Spring.Data.NHibernate21\Spring.Data.NHibernate21.build
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Core.2008", "..\..\src\Spring\Spring.Core\Spring.Core.2008.csproj", "{710961A3-0DF4-49E4-A26E-F5B9C044AC84}"
@@ -13,9 +14,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.2008", "..\..\s
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate21.Integration.Tests.2008", "..\..\test\Spring\Spring.Data.NHibernate21.Integration.Tests\Spring.Data.NHibernate21.Integration.Tests.2008.csproj", "{4A07E150-ED90-407C-8CAD-4760444DDFD9}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate21.Tests.2008", "..\..\test\Spring\Spring.Data.NHibernate21.Tests\Spring.Data.NHibernate21.Tests.2008.csproj", "{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate21.Tests.2008", "..\..\test\Spring\Spring.Data.NHibernate21.Tests\Spring.Data.NHibernate21.Tests.2008.csproj", "{90FEE979-7367-4542-BCCB-BF634E04A9D3}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate21.2008", "..\..\src\Spring\Spring.Data.NHibernate21\Spring.Data.NHibernate21.2008.csproj", "{71368632-B8B7-4A6A-8C65-8DA848120C82}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate21.2008", "..\..\src\Spring\Spring.Data.NHibernate21\Spring.Data.NHibernate21.2008.csproj", "{E57B4652-0231-49CB-B058-87E10EFE540D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.Tests.2008", "..\..\test\Spring\Spring.Data.Tests\Spring.Data.Tests.2008.csproj", "{ACD39D47-1811-40FA-9E7E-5DEA5B9CE6C0}"
EndProject
@@ -79,28 +80,28 @@ Global
{4A07E150-ED90-407C-8CAD-4760444DDFD9}.Release|Any CPU.Build.0 = Release|Any CPU
{4A07E150-ED90-407C-8CAD-4760444DDFD9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{4A07E150-ED90-407C-8CAD-4760444DDFD9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|.NET.ActiveCfg = Debug|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|.NET.Build.0 = Debug|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|.NET.ActiveCfg = Release|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|.NET.Build.0 = Release|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Any CPU.Build.0 = Release|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|.NET.ActiveCfg = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|.NET.ActiveCfg = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|Any CPU.Build.0 = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {71368632-B8B7-4A6A-8C65-8DA848120C82}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Debug|.NET.ActiveCfg = Debug|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Debug|.NET.Build.0 = Debug|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Release|.NET.ActiveCfg = Release|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Release|.NET.Build.0 = Release|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {90FEE979-7367-4542-BCCB-BF634E04A9D3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|.NET.ActiveCfg = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|.NET.ActiveCfg = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {E57B4652-0231-49CB-B058-87E10EFE540D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{ACD39D47-1811-40FA-9E7E-5DEA5B9CE6C0}.Debug|.NET.ActiveCfg = Debug|Any CPU
{ACD39D47-1811-40FA-9E7E-5DEA5B9CE6C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ACD39D47-1811-40FA-9E7E-5DEA5B9CE6C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
diff --git a/lib/NHibernate21/net/2.0/Antlr3.Runtime.dll b/lib/NHibernate21/net/2.0/Antlr3.Runtime.dll
new file mode 100644
index 00000000..637fc3e3
Binary files /dev/null and b/lib/NHibernate21/net/2.0/Antlr3.Runtime.dll differ
diff --git a/lib/NHibernate21/net/2.0/Castle.Core.dll b/lib/NHibernate21/net/2.0/Castle.Core.dll
deleted file mode 100644
index 2464e661..00000000
Binary files a/lib/NHibernate21/net/2.0/Castle.Core.dll and /dev/null differ
diff --git a/lib/NHibernate21/net/2.0/Castle.DynamicProxy.license.txt b/lib/NHibernate21/net/2.0/Castle.DynamicProxy.license.txt
deleted file mode 100644
index b7530910..00000000
--- a/lib/NHibernate21/net/2.0/Castle.DynamicProxy.license.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright 2004-2005 Castle Project - http://www.castleproject.org/
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
diff --git a/lib/NHibernate21/net/2.0/Castle.DynamicProxy2.dll b/lib/NHibernate21/net/2.0/Castle.DynamicProxy2.dll
deleted file mode 100644
index 83e192e9..00000000
Binary files a/lib/NHibernate21/net/2.0/Castle.DynamicProxy2.dll and /dev/null differ
diff --git a/lib/NHibernate21/net/2.0/Iesi.Collections.dll b/lib/NHibernate21/net/2.0/Iesi.Collections.dll
index 0a745d44..b8def765 100644
Binary files a/lib/NHibernate21/net/2.0/Iesi.Collections.dll and b/lib/NHibernate21/net/2.0/Iesi.Collections.dll differ
diff --git a/lib/NHibernate21/net/2.0/LinFu.DynamicProxy.dll b/lib/NHibernate21/net/2.0/LinFu.DynamicProxy.dll
index cbd6c78f..22225220 100644
Binary files a/lib/NHibernate21/net/2.0/LinFu.DynamicProxy.dll and b/lib/NHibernate21/net/2.0/LinFu.DynamicProxy.dll differ
diff --git a/lib/NHibernate21/net/2.0/NHibernate.ByteCode.Castle.dll b/lib/NHibernate21/net/2.0/NHibernate.ByteCode.Castle.dll
deleted file mode 100644
index 139f2aff..00000000
Binary files a/lib/NHibernate21/net/2.0/NHibernate.ByteCode.Castle.dll and /dev/null differ
diff --git a/lib/NHibernate21/net/2.0/NHibernate.ByteCode.LinFu.dll b/lib/NHibernate21/net/2.0/NHibernate.ByteCode.LinFu.dll
new file mode 100644
index 00000000..015189d9
Binary files /dev/null and b/lib/NHibernate21/net/2.0/NHibernate.ByteCode.LinFu.dll differ
diff --git a/lib/NHibernate21/net/2.0/NHibernate.dll b/lib/NHibernate21/net/2.0/NHibernate.dll
index 2ec1ad27..306a4593 100644
Binary files a/lib/NHibernate21/net/2.0/NHibernate.dll and b/lib/NHibernate21/net/2.0/NHibernate.dll differ
diff --git a/src/Spring/Spring.Data.NHibernate20/Data/NHibernate/LocalSessionFactoryObject.cs b/src/Spring/Spring.Data.NHibernate20/Data/NHibernate/LocalSessionFactoryObject.cs
index c579b478..6bb75d27 100644
--- a/src/Spring/Spring.Data.NHibernate20/Data/NHibernate/LocalSessionFactoryObject.cs
+++ b/src/Spring/Spring.Data.NHibernate20/Data/NHibernate/LocalSessionFactoryObject.cs
@@ -42,8 +42,11 @@ using Spring.Dao.Support;
using Spring.Data.Common;
using Spring.Data.Support;
using Spring.Objects.Factory;
+using Spring.Objects.Factory.Config;
+using Spring.Util;
using Environment = NHibernate.Cfg.Environment;
+using Configuration = NHibernate.Cfg.Configuration;
#endregion
@@ -71,7 +74,7 @@ namespace Spring.Data.NHibernate
///
/// Mark Pollack (.NET)
/// $Id: LocalSessionFactoryObject.cs,v 1.2 2008/05/01 12:50:34 lahma Exp $
- public class LocalSessionFactoryObject : IFactoryObject, IInitializingObject, IPersistenceExceptionTranslator, System.IDisposable
+ public class LocalSessionFactoryObject : IFactoryObject, IInitializingObject, IPersistenceExceptionTranslator, IDisposable
{
#region Fields
@@ -95,14 +98,28 @@ namespace Spring.Data.NHibernate
private bool exposeTransactionAwareSessionFactory = false;
+ private IInterceptor entityInterceptor;
+
+ private INamingStrategy namingStrategy;
+
+ private IObjectDefinition[] typeDefinitions;
+
private FilterDefinition[] filterDefinitions;
+ private Properties entityCacheStrategies;
+
+ private Properties collectionCacheStrategies;
+
private IDictionary eventListeners;
private bool schemaUpdate = false;
private IAdoExceptionTranslator adoExceptionTranslator;
+ // Configuration time DB provider.
+ // This will not be available after configuration has been done.
+ private static IDbProvider configTimeDbProvider;
+
#endregion
#region Constants
@@ -113,8 +130,6 @@ namespace Spring.Data.NHibernate
protected static readonly ILog log =
LogManager.GetLogger(typeof (LocalSessionFactoryObject));
-
-
#endregion
#region Constructor (s)
@@ -224,8 +239,52 @@ namespace Spring.Data.NHibernate
set { exposeTransactionAwareSessionFactory = value; }
get { return exposeTransactionAwareSessionFactory; }
}
-
+
+
///
+ /// Set a NHibernate entity interceptor that allows to inspect and change
+ /// property values before writing to and reading from the database.
+ /// Will get applied to any new Session created by this factory.
+ ///
Such an interceptor can either be set at the SessionFactory level, i.e. on
+ /// LocalSessionFactoryObject, or at the Session level, i.e. on HibernateTemplate,
+ /// HibernateInterceptor, and HibernateTransactionManager. It's preferable to set
+ /// it on LocalSessionFactoryObject or HibernateTransactionManager to avoid repeated
+ /// configuration and guarantee consistent behavior in transactions.
+ ///
+ ///
+ ///
+ ///
+ public IInterceptor EntityInterceptor
+ {
+ set { this.entityInterceptor = value; }
+ }
+
+ ///
+ /// Set a Hibernate NamingStrategy for the SessionFactory, determining the
+ /// physical column and table names given the info in the mapping document.
+ ///
+ ///
+ public INamingStrategy NamingStrategy
+ {
+ set { this.namingStrategy = value; }
+ }
+
+ ///
+ /// Specify the Hibernate type definitions to register with the SessionFactory,
+ /// as Spring IObjectDefinition instances. This is an alternative to specifying
+ /// <typedef> elements in Hibernate mapping files.
+ ///
Unfortunately, Hibernate itself does not define a complete object that
+ /// represents a type definition, hence the need for Spring's TypeDefinitionBean.
+ /// @see TypeDefinitionBean
+ /// @see org.hibernate.cfg.Mappings#addTypeDef(String, String, java.util.Properties)
+ ///
+ public IObjectDefinition[] TypeDefinitions
+ {
+ set { this.typeDefinitions = value; }
+ }
+
+
+ ///
/// Specify the NHibernate FilterDefinitions to register with the SessionFactory.
/// This is an alternative to specifying <filter-def> elements in
/// Hibernate mapping files.
@@ -241,6 +300,51 @@ namespace Spring.Data.NHibernate
set { this.filterDefinitions = value; }
}
+ ///
+ /// Specify the cache strategies for entities (persistent classes or named entities).
+ /// This configuration setting corresponds to the <class-cache> entry
+ /// in the "hibernate.cfg.xml" configuration format.
+ ///
+ /// Note that appending a cache region name (with a comma separator) is only
+ /// supported on Hibernate 3.1, where this functionality is publically available.
+ ///
+ ///
+ public Properties EntityCacheStrategies
+ {
+ set { this.entityCacheStrategies = value; }
+ }
+
+ ///
+ /// Specify the cache strategies for persistent collections (with specific roles).
+ /// This configuration setting corresponds to the <collection-cache> entry
+ /// in the "hibernate.cfg.xml" configuration format.
+ ///