From: <fab...@us...> - 2009-03-18 17:22:44
|
Revision: 4147 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4147&view=rev Author: fabiomaulo Date: 2009-03-18 16:34:39 +0000 (Wed, 18 Mar 2009) Log Message: ----------- Fix NH-1694 Modified Paths: -------------- trunk/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs trunk/nhibernate/src/NHibernate.Test/NHibernate.Test.csproj Added Paths: ----------- trunk/NHibernate.Test/ trunk/NHibernate.Test/NHSpecificTest/ trunk/NHibernate.Test/NHSpecificTest/NH1694/ trunk/NHibernate.Test/NHSpecificTest/NH1694/Mappings.hbm.xml trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/Fixture.cs trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/Mappings.hbm.xml Added: trunk/NHibernate.Test/NHSpecificTest/NH1694/Mappings.hbm.xml =================================================================== --- trunk/NHibernate.Test/NHSpecificTest/NH1694/Mappings.hbm.xml (rev 0) +++ trunk/NHibernate.Test/NHSpecificTest/NH1694/Mappings.hbm.xml 2009-03-18 16:34:39 UTC (rev 4147) @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" + assembly="NHibernate.Test" + namespace="NHibernate.Test.NHSpecificTest.NH1694"> + + <class name="User" table="Users"> + <id name="Id"> + <generator class="native"/> + </id> + <property name="OrderStatus" formula="CASE ISNULL((SELECT MIN(CONVERT(INT,ISNULL(o.Status,0))) FROM dbo.Orders o WHERE o.userid=id),-1) WHEN -1 THEN 0 WHEN 0 THEN 1 ELSE 2 END" /> + </class> + + <class name="Orders"> + <id name="Id"> + <generator class="native"/> + </id> + <property name="Status" /> + <many-to-one name="User" class="User" column="UserID" /> + </class> + +</hibernate-mapping> Modified: trunk/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs 2009-03-18 15:54:41 UTC (rev 4146) +++ trunk/nhibernate/src/NHibernate/Dialect/MsSql2000Dialect.cs 2009-03-18 16:34:39 UTC (rev 4147) @@ -56,16 +56,9 @@ RegisterColumnType(DbType.Currency, "MONEY"); RegisterColumnType(DbType.Date, "DATETIME"); RegisterColumnType(DbType.DateTime, "DATETIME"); - // TODO: figure out if this is the good way to fix the problem - // with exporting a DECIMAL column - // NUMERIC(precision, scale) has a hardcoded precision of 19, even though it can range from 1 to 38 - // and the scale has to be 0 <= scale <= precision. - // I think how I might handle it is keep the type="Decimal(29,5)" and make them specify a - // sql-type="decimal(20,5)" if they need to do that. The Decimal parameter and ddl will get generated - // correctly with minimal work. RegisterColumnType(DbType.Decimal, "DECIMAL(19,5)"); RegisterColumnType(DbType.Decimal, 19, "DECIMAL(19, $l)"); - RegisterColumnType(DbType.Decimal, 19, "DECIMAL($p, $s)"); + RegisterColumnType(DbType.Decimal, 19, "DECIMAL($p, $s)"); RegisterColumnType(DbType.Double, "DOUBLE PRECISION"); //synonym for FLOAT(53) RegisterColumnType(DbType.Guid, "UNIQUEIDENTIFIER"); RegisterColumnType(DbType.Int16, "SMALLINT"); @@ -136,6 +129,7 @@ RegisterFunction("iif", new SQLFunctionTemplate(null, "case when ?1 then ?2 else ?3 end")); RegisterKeyword("top"); + RegisterKeyword("integer"); DefaultProperties[Environment.ConnectionDriver] = "NHibernate.Driver.SqlClientDriver"; DefaultProperties[Environment.PrepareSql] = "true"; Added: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/Fixture.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/Fixture.cs (rev 0) +++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/Fixture.cs 2009-03-18 16:34:39 UTC (rev 4147) @@ -0,0 +1,95 @@ +using System.Collections.Generic; +using NHibernate.Criterion; +using NHibernate.Dialect; +using NUnit.Framework; +using NUnit.Framework.SyntaxHelpers; + +namespace NHibernate.Test.NHSpecificTest.NH1694 +{ + [TestFixture] + public class Fixture : BugTestCase + { + protected override bool AppliesTo(Dialect.Dialect dialect) + { + return dialect is MsSql2005Dialect; + } + + private void FillDb() + { + base.OnSetUp(); + using (ISession session = OpenSession()) + { + using (ITransaction tran = session.BeginTransaction()) + { + var newUser = new User(); + var newOrder1 = new Orders {User = newUser, Status = true}; + var newOrder2 = new Orders {User = newUser, Status = true}; + + session.Save(newUser); + session.Save(newOrder1); + session.Save(newOrder2); + + newUser = new User(); + newOrder1 = new Orders {User = newUser, Status = false}; + + session.Save(newUser); + session.Save(newOrder1); + + tran.Commit(); + } + } + } + + private void Cleanup() + { + base.OnTearDown(); + using (ISession session = OpenSession()) + { + using (ITransaction tran = session.BeginTransaction()) + { + session.Delete("from Orders"); + session.Delete("from User"); + tran.Commit(); + } + } + } + + [Test] + public void CanOrderByExpressionContainingACommaInAPagedQuery() + { + FillDb(); + using (ISession session = OpenSession()) + { + using (ITransaction tran = session.BeginTransaction()) + { + ICriteria crit = session.CreateCriteria(typeof (User)); + crit.AddOrder(Order.Desc("OrderStatus")); + crit.AddOrder(Order.Asc("Id")); + crit.SetMaxResults(10); + + IList<User> list = crit.List<User>(); + + Assert.That(list.Count, Is.EqualTo(2)); + Assert.That(list[0].OrderStatus, Is.EqualTo(2)); + Assert.That(list[1].OrderStatus, Is.EqualTo(1)); + + tran.Commit(); + } + } + Cleanup(); + } + } + + public class User + { + public virtual int Id { get; set; } + public virtual int OrderStatus { get; set; } + } + + public class Orders + { + public virtual int Id { get; set; } + public virtual bool Status { get; set; } + public virtual User User { get; set; } + } +} \ No newline at end of file Added: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/Mappings.hbm.xml =================================================================== --- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/Mappings.hbm.xml (rev 0) +++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/NH1694/Mappings.hbm.xml 2009-03-18 16:34:39 UTC (rev 4147) @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" + assembly="NHibernate.Test" + namespace="NHibernate.Test.NHSpecificTest.NH1694"> + + <class name="User" table="Users"> + <id name="Id"> + <generator class="native"/> + </id> + <property name="OrderStatus" + formula="CASE ISNULL((SELECT MIN(CONVERT(INTEGER,ISNULL(o.Status,0))) FROM dbo.Orders o WHERE o.userid=id),-1) WHEN -1 THEN 0 WHEN 0 THEN 1 ELSE 2 END" /> + </class> + + <class name="Orders"> + <id name="Id"> + <generator class="native"/> + </id> + <property name="Status" /> + <many-to-one name="User" class="User" column="UserID" /> + </class> + +</hibernate-mapping> Modified: trunk/nhibernate/src/NHibernate.Test/NHibernate.Test.csproj =================================================================== --- trunk/nhibernate/src/NHibernate.Test/NHibernate.Test.csproj 2009-03-18 15:54:41 UTC (rev 4146) +++ trunk/nhibernate/src/NHibernate.Test/NHibernate.Test.csproj 2009-03-18 16:34:39 UTC (rev 4147) @@ -292,6 +292,7 @@ <Compile Include="GenericTest\SetGeneric\SetGenericFixture.cs" /> <Compile Include="HQL\Animal.cs" /> <Compile Include="HQL\BaseFunctionFixture.cs" /> + <Compile Include="NHSpecificTest\NH1694\Fixture.cs" /> <Compile Include="NHSpecificTest\NH1706\Domain.cs" /> <Compile Include="NHSpecificTest\NH1706\KeyPropertyRefFixture.cs" /> <Compile Include="NHSpecificTest\NH645\HQLFunctionFixture.cs" /> @@ -1684,6 +1685,7 @@ <EmbeddedResource Include="Cascade\JobBatch.hbm.xml" /> <EmbeddedResource Include="Deletetransient\Person.hbm.xml" /> <Content Include="DynamicEntity\package.html" /> + <EmbeddedResource Include="NHSpecificTest\NH1694\Mappings.hbm.xml" /> <EmbeddedResource Include="NHSpecificTest\NH1706\Mappings.hbm.xml" /> <EmbeddedResource Include="Stateless\Naturalness.hbm.xml" /> <EmbeddedResource Include="TransformTests\Simple.hbm.xml" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aye...@us...> - 2009-06-22 10:48:34
|
Revision: 4509 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4509&view=rev Author: ayenderahien Date: 2009-06-22 10:48:32 +0000 (Mon, 22 Jun 2009) Log Message: ----------- Merging from 2.1.x branch Fixing NH-1844 - SessionIdLoggingContext causing perf problems Modified Paths: -------------- trunk/nhibernate/default.build trunk/nhibernate/src/NHibernate/Impl/SessionIdLoggingContext.cs trunk/nhibernate/src/NHibernate.Test/LogSpy.cs trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/Logs/LogsFixture.cs Property Changed: ---------------- trunk/ trunk/nhibernate/src/Iesi.Collections.Test/ trunk/nhibernate/src/NHibernate.ByteCode.Castle.Tests/ trunk/nhibernate/src/NHibernate.ByteCode.LinFu.Tests/ trunk/nhibernate/src/NHibernate.ByteCode.Spring.Tests/ trunk/nhibernate/src/NHibernate.Test/ trunk/nhibernate/src/NHibernate.Test/Tools/hbm2ddl/SchemaExportTests/ trunk/nhibernate/src/NHibernate.Test/Tools/hbm2ddl/SchemaExportTests/WithColumnTag.hbm.xml Property changes on: trunk ___________________________________________________________________ Added: svn:mergeinfo + /branches/2.1.x:4505-4508 Modified: trunk/nhibernate/default.build =================================================================== --- trunk/nhibernate/default.build 2009-06-22 05:26:50 UTC (rev 4508) +++ trunk/nhibernate/default.build 2009-06-22 10:48:32 UTC (rev 4509) @@ -52,6 +52,7 @@ <target name="copy-referenced-assemblies"> <!-- Copy framework-neutral libraries --> + <copy todir="${bin.dir}" > <fileset basedir="${lib.dir}"> <include name="*.dll" /> Property changes on: trunk/nhibernate/src/Iesi.Collections.Test ___________________________________________________________________ Modified: svn:ignore - bin obj AssemblyInfo.cs [Bb]in [Dd]ebug [Rr]elease *.user *.aps *.eto *resharper* + bin obj AssemblyInfo.cs [Bb]in [Dd]ebug [Rr]elease *.user *.aps *.eto *.xml Modified: trunk/nhibernate/src/NHibernate/Impl/SessionIdLoggingContext.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Impl/SessionIdLoggingContext.cs 2009-06-22 05:26:50 UTC (rev 4508) +++ trunk/nhibernate/src/NHibernate/Impl/SessionIdLoggingContext.cs 2009-06-22 10:48:32 UTC (rev 4509) @@ -3,10 +3,16 @@ namespace NHibernate.Impl { + using System.Web; + public class SessionIdLoggingContext : IDisposable { - private readonly object oldSessonId; + [ThreadStatic] private static Guid? CurrentSessionId; + private const string CurrentSessionIdKey = "NHibernate.Impl.SessionIdLoggingContext.CurrentSessionId"; + + private readonly Guid? oldSessonId; + public SessionIdLoggingContext(Guid id) { oldSessonId = SessionId; @@ -18,28 +24,20 @@ /// this is usally the case if we are called from the finalizer, since this is something /// that we do only for logging, we ignore the error. /// </summary> - private static object SessionId + public static Guid? SessionId { get { - try - { - return ThreadContext.Properties["sessionId"]; - } - catch (Exception) - { - return null; - } + if (HttpContext.Current != null) + return (Guid?)HttpContext.Current.Items[CurrentSessionIdKey]; + return CurrentSessionId; } set { - try - { - ThreadContext.Properties["sessionId"] = value; - } - catch (Exception) - { - } + if (HttpContext.Current != null) + HttpContext.Current.Items[CurrentSessionIdKey] = value; + else + CurrentSessionId = value; } } Property changes on: trunk/nhibernate/src/NHibernate.ByteCode.Castle.Tests ___________________________________________________________________ Modified: svn:ignore - obj .#* *.user *.xsx AssemblyInfo.cs hibernate.cfg.xml *.aps *.eto [Bb]in [Dd]ebug [Rr]elease *resharper* + obj .#* *.user *.xsx AssemblyInfo.cs hibernate.cfg.xml *.aps *.eto [Bb]in [Dd]ebug [Rr]elease *resharper* *.xml Property changes on: trunk/nhibernate/src/NHibernate.ByteCode.LinFu.Tests ___________________________________________________________________ Modified: svn:ignore - obj .#* *.user *.xsx AssemblyInfo.cs hibernate.cfg.xml *.aps *.eto [Bb]in [Dd]ebug [Rr]elease *resharper* + obj .#* *.user *.xsx AssemblyInfo.cs hibernate.cfg.xml *.aps *.eto [Bb]in [Dd]ebug [Rr]elease *resharper* *.xml Property changes on: trunk/nhibernate/src/NHibernate.ByteCode.Spring.Tests ___________________________________________________________________ Modified: svn:ignore - obj .#* *.user *.xsx *.aps *.eto [Bb]in [Dd]ebug [Rr]elease *resharper* AssemblyInfo.cs hibernate.cfg.xml + obj .#* *.user *.xsx *.aps *.eto [Bb]in [Dd]ebug [Rr]elease *resharper* AssemblyInfo.cs hibernate.cfg.xml *.xml Property changes on: trunk/nhibernate/src/NHibernate.Test ___________________________________________________________________ Modified: svn:ignore - bin obj .#* *.user *.xsx AssemblyInfo.cs hibernate.cfg.xml Debug Release *.aps *.eto [Bb]in [Dd]ebug [Rr]elease *resharper* + bin obj .#* *.user *.xsx AssemblyInfo.cs hibernate.cfg.xml Debug Release *.aps *.eto [Bb]in [Dd]ebug [Rr]elease *resharper* *.xml Modified: trunk/nhibernate/src/NHibernate.Test/LogSpy.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Test/LogSpy.cs 2009-06-22 05:26:50 UTC (rev 4508) +++ trunk/nhibernate/src/NHibernate.Test/LogSpy.cs 2009-06-22 10:48:32 UTC (rev 4509) @@ -19,7 +19,7 @@ logger = log.Logger as Logger; if (logger == null) { - throw new Exception("Unable to get the SQL logger"); + throw new Exception("Unable to get the logger"); } // Change the log level to DEBUG and temporarily save the previous log level Modified: trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/Logs/LogsFixture.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/Logs/LogsFixture.cs 2009-06-22 05:26:50 UTC (rev 4508) +++ trunk/nhibernate/src/NHibernate.Test/NHSpecificTest/Logs/LogsFixture.cs 2009-06-22 10:48:32 UTC (rev 4509) @@ -6,6 +6,15 @@ namespace NHibernate.Test.NHSpecificTest.Logs { + using System; + using System.IO; + using System.Text; + using log4net; + using log4net.Appender; + using log4net.Core; + using log4net.Layout; + using log4net.Repository.Hierarchy; + [TestFixture] public class LogsFixture : TestCase { @@ -22,16 +31,62 @@ [Test] public void WillGetSessionIdFromSessionLogs() { - using (var spy = new SqlLogSpy()) + ThreadContext.Properties["sessionId"] = new SessionIdCapturer(); + + using (var spy = new TextLogSpy("NHibernate.SQL", "%message | SessionId: %property{sessionId}")) using (var s = sessions.OpenSession()) { var sessionId = ((SessionImpl)s).SessionId; s.Get<Person>(1);//will execute some sql - var loggingEvent = spy.Appender.GetEvents()[0]; - Assert.AreEqual(sessionId, loggingEvent.Properties["sessionId"]); + var loggingEvent = spy.Events[0]; + Assert.True(loggingEvent.Contains(sessionId.ToString())); } } + + public class SessionIdCapturer + { + public override string ToString() + { + return SessionIdLoggingContext.SessionId.ToString(); + } + } + + public class TextLogSpy : IDisposable + { + private readonly TextWriterAppender appender; + private readonly Logger loggerImpl; + private readonly StringBuilder stringBuilder; + + public TextLogSpy(string loggerName, string pattern) + { + stringBuilder = new StringBuilder(); + appender = new TextWriterAppender + { + Layout = new PatternLayout(pattern), + Threshold = Level.All, + Writer = new StringWriter(stringBuilder) + }; + loggerImpl = (Logger)LogManager.GetLogger(loggerName).Logger; + loggerImpl.AddAppender(appender); + loggerImpl.Level = Level.All; + } + + public string[] Events + { + get + { + return stringBuilder.ToString().Split(new[] {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries); + } + } + + public void Dispose() + { + loggerImpl.RemoveAppender(appender); + } + } } + + } \ No newline at end of file Property changes on: trunk/nhibernate/src/NHibernate.Test/Tools/hbm2ddl/SchemaExportTests ___________________________________________________________________ Modified: svn:mergeinfo - + /branches/2.1.x/nhibernate/src/NHibernate.Test/Tools/hbm2ddl/SchemaExportTests:4507-4508 Property changes on: trunk/nhibernate/src/NHibernate.Test/Tools/hbm2ddl/SchemaExportTests/WithColumnTag.hbm.xml ___________________________________________________________________ Deleted: svn:mergeinfo - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aye...@us...> - 2009-10-17 23:34:40
|
Revision: 4768 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4768&view=rev Author: ayenderahien Date: 2009-10-17 23:34:20 +0000 (Sat, 17 Oct 2009) Log Message: ----------- Adding current session id for actions that are performed outside of the session but belong the the session. Modified Paths: -------------- trunk/nhibernate/src/NHibernate/Id/Insert/AbstractSelectingDelegate.cs trunk/nhibernate/src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs trunk/nhibernate/src/NHibernate/Persister/Entity/AbstractEntityPersister.cs trunk/nhibernate/src/NHibernate/Type/DbTimestampType.cs Property Changed: ---------------- trunk/ Property changes on: trunk ___________________________________________________________________ Modified: svn:mergeinfo - /branches/2.1.x:4505-4508 + /branches/2.1.x:4505-4508,4510-4513,4537-4538 Modified: trunk/nhibernate/src/NHibernate/Id/Insert/AbstractSelectingDelegate.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Id/Insert/AbstractSelectingDelegate.cs 2009-10-16 20:21:57 UTC (rev 4767) +++ trunk/nhibernate/src/NHibernate/Id/Insert/AbstractSelectingDelegate.cs 2009-10-17 23:34:20 UTC (rev 4768) @@ -2,6 +2,7 @@ using System.Data.Common; using NHibernate.Engine; using NHibernate.Exceptions; +using NHibernate.Impl; using NHibernate.SqlCommand; using NHibernate.SqlTypes; @@ -48,6 +49,7 @@ } SqlString selectSQL = SelectSQL; + using (new SessionIdLoggingContext(session.SessionId)) try { //fetch the generated id in a separate query Modified: trunk/nhibernate/src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs 2009-10-16 20:21:57 UTC (rev 4767) +++ trunk/nhibernate/src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs 2009-10-17 23:34:20 UTC (rev 4768) @@ -1504,6 +1504,7 @@ public int GetSize(object key, ISessionImplementor session) { + using(new SessionIdLoggingContext(session.SessionId)) try { IDbCommand st = session.Batcher.PrepareCommand(CommandType.Text, sqlSelectSizeString, KeyType.SqlTypes(factory)); @@ -1540,6 +1541,7 @@ private bool Exists(object key, object indexOrElement, IType indexOrElementType, SqlString sql, ISessionImplementor session) { + using(new SessionIdLoggingContext(session.SessionId)) try { List<SqlType> sqlTl = new List<SqlType>(KeyType.SqlTypes(factory)); @@ -1579,6 +1581,7 @@ public virtual object GetElementByIndex(object key, object index, ISessionImplementor session, object owner) { + using(new SessionIdLoggingContext(session.SessionId)) try { List<SqlType> sqlTl = new List<SqlType>(KeyType.SqlTypes(factory)); Modified: trunk/nhibernate/src/NHibernate/Persister/Entity/AbstractEntityPersister.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Persister/Entity/AbstractEntityPersister.cs 2009-10-16 20:21:57 UTC (rev 4767) +++ trunk/nhibernate/src/NHibernate/Persister/Entity/AbstractEntityPersister.cs 2009-10-17 23:34:20 UTC (rev 4768) @@ -1230,6 +1230,7 @@ log.Debug("initializing lazy properties from datastore"); + using (new SessionIdLoggingContext(session.SessionId)) try { object result = null; @@ -1406,6 +1407,7 @@ log.Debug("Getting current persistent state for: " + MessageHelper.InfoString(this, id, Factory)); } + using (new SessionIdLoggingContext(session.SessionId)) try { IDbCommand st = session.Batcher.PrepareCommand(CommandType.Text, SQLSnapshotSelectString, IdentifierType.SqlTypes(factory)); @@ -1661,7 +1663,7 @@ { log.Debug("Getting version: " + MessageHelper.InfoString(this, id, Factory)); } - + using(new SessionIdLoggingContext(session.SessionId)) try { IDbCommand st = session.Batcher.PrepareQueryCommand(CommandType.Text, VersionSelectString, IdentifierType.SqlTypes(Factory)); @@ -2415,6 +2417,7 @@ IDbCommand sequentialSelect = null; IDataReader sequentialResultSet = null; bool sequentialSelectEmpty = false; + using (new SessionIdLoggingContext(session.SessionId)) try { if (hasDeferred) @@ -3917,6 +3920,7 @@ { session.Batcher.ExecuteBatch(); //force immediate execution of the insert + using (new SessionIdLoggingContext(session.SessionId)) try { IDbCommand cmd = @@ -4007,6 +4011,7 @@ /////////////////////////////////////////////////////////////////////// object[] snapshot = new object[naturalIdPropertyCount]; + using (new SessionIdLoggingContext(session.SessionId)) try { IDbCommand ps = session.Batcher.PrepareCommand(CommandType.Text, sql, IdentifierType.SqlTypes(factory)); Modified: trunk/nhibernate/src/NHibernate/Type/DbTimestampType.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Type/DbTimestampType.cs 2009-10-16 20:21:57 UTC (rev 4767) +++ trunk/nhibernate/src/NHibernate/Type/DbTimestampType.cs 2009-10-17 23:34:20 UTC (rev 4768) @@ -4,6 +4,7 @@ using log4net; using NHibernate.Engine; using NHibernate.Exceptions; +using NHibernate.Impl; using NHibernate.SqlCommand; using NHibernate.SqlTypes; @@ -58,6 +59,7 @@ var tsSelect = new SqlString(timestampSelectString); IDbCommand ps = null; IDataReader rs = null; + using (new SessionIdLoggingContext(session.SessionId)) try { ps = session.Batcher.PrepareCommand(CommandType.Text, tsSelect, EmptyParams); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sb...@us...> - 2011-08-22 13:28:18
|
Revision: 6038 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=6038&view=rev Author: sbohlen Date: 2011-08-22 13:28:09 +0000 (Mon, 22 Aug 2011) Log Message: ----------- -delete non-source-code-related content from the repository to prevent subsequent use now that the authoritative repo has been switched to GITHUB -introduce OBSOLETE.txt message file into all folders -prepend OBSOLETE message to all .cs files to further ensure viewers are advised that the content in this repo is obsolete Modified Paths: -------------- trunk/nhibernate/releasenotes.txt Added Paths: ----------- trunk/nhibernate/___README___THIS_REPOSITORY_IS_OBSOLETE___AUTHORITATIVE_REPOSITORY_HAS_BEEN_MOVED.txt Removed Paths: ------------- trunk/.hgignore trunk/nhibernate/GaRelease.bat trunk/nhibernate/HowInstall.txt trunk/nhibernate/ShowBuildMenu.bat trunk/nhibernate/default.build trunk/nhibernate/readme.html trunk/nhibernate/sample build commands.txt trunk/nhibernate/src/Iesi.Collections.sln trunk/nhibernate/src/NHibernate/NHibernate.build trunk/nhibernate/src/NHibernate/NHibernate.csproj trunk/nhibernate/src/NHibernate.Everything.sln trunk/nhibernate/src/NHibernate.Test/NHibernate.Test.build trunk/nhibernate/src/NHibernate.Test/NHibernate.Test.csproj trunk/nhibernate/src/NHibernate.sln trunk/nhibernate/src/NHibernate.snk trunk/nhibernate/teamcity.build Deleted: trunk/.hgignore =================================================================== --- trunk/.hgignore 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/.hgignore 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,37 +0,0 @@ -# Ignore file for Visual Studio 2008/2010 - -# use glob syntax -syntax: glob - -*.obj -*.exe -*.pdb -*.user -*.aps -*.pch -*.vspscc -*_i.c -*_p.c -*.ncb -*.suo -*.tlb -*.tlh -*.bak -*.cache -*.ilk -*.log -*.lib -*.sbr -*.scc -[Bb]in -[Db]ebug*/ -obj/ -[Rr]elease*/ -*resharper* -_ReSharper*/ -[Tt]est[Rr]esult* -[Bb]uild[Ll]og.* -*.[Pp]ublish.xml -glob:NHibernate.dll -glob:nhibernate\build\ -glob:AssemblyInfo.cs Deleted: trunk/nhibernate/GaRelease.bat =================================================================== --- trunk/nhibernate/GaRelease.bat 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/GaRelease.bat 2011-08-22 13:28:09 UTC (rev 6038) @@ -1 +0,0 @@ -NAnt -D:project.config=release clean package Deleted: trunk/nhibernate/HowInstall.txt =================================================================== --- trunk/nhibernate/HowInstall.txt 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/HowInstall.txt 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,7 +0,0 @@ -Required Bins : Minimal required assemblies to work with NHibernate - - -Required for LazyLoading : -NHibernate 2.1 has a new important feature regarding dynamic-proxy systems for lazy-loading -Details are available in releasenotes.txt and in this post -http://nhforge.org/blogs/nhibernate/archive/2008/11/09/nh2-1-0-bytecode-providers.aspx Deleted: trunk/nhibernate/ShowBuildMenu.bat =================================================================== --- trunk/nhibernate/ShowBuildMenu.bat 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/ShowBuildMenu.bat 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,272 +0,0 @@ -@echo off -pushd %~dp0 - -set NANT=Tools\nant\bin\NAnt.exe -t:net-3.5 - -echo --- SETUP --- -echo A. Set up for Visual Studio (creates AssemblyInfo.cs files). -echo. -echo --- TESTING --- -echo B. Learn how to set up database and connection string for testing. -echo C. How to increase the window scroll/size so you can see more test output. -echo D. Build and run all tests. -echo. -echo --- BUILD --- -echo E. Build NHibernate (Debug) -echo F. Build NHibernate (Release) -echo G. Build Release Package (Also runs tests and creates documentation) -echo. -echo --- GRAMMAR --- -echo H. Grammar operations (related to Hql.g and HqlSqlWalker.g) -echo. -echo --- TeamCity (CI) build options -echo I. TeamCity build menu -echo. - -if exist %SYSTEMROOT%\System32\choice.exe ( goto prompt-choice ) -goto prompt-set - -:prompt-choice -choice /C:abcdefghi - -if errorlevel 255 goto end -if errorlevel 9 goto teamcity-menu -if errorlevel 8 goto grammar -if errorlevel 7 goto build-release-package -if errorlevel 6 goto build-release -if errorlevel 5 goto build-debug -if errorlevel 4 goto build-test -if errorlevel 3 goto help-larger-window -if errorlevel 2 goto help-test-setup -if errorlevel 1 goto build-visual-studio -if errorlevel 0 goto end - -:prompt-set -set /p OPT=[A, B, C, D, E, F, G, H, I]? - -if /I "%OPT%"=="A" goto build-visual-studio -if /I "%OPT%"=="B" goto help-test-setup -if /I "%OPT%"=="C" goto help-larger-window -if /I "%OPT%"=="D" goto build-test -if /I "%OPT%"=="E" goto build-debug -if /I "%OPT%"=="F" goto build-release -if /I "%OPT%"=="G" goto build-release-package -if /I "%OPT%"=="H" goto grammar -if /I "%OPT%"=="I" goto teamcity-menu -goto prompt-set - -:help-test-setup -echo. -echo 1. Install SQL Server 2008 (or use the database included with VS). -echo 2. Edit connection settings in build-common\nhibernate-properties.xml -echo. -echo 3. If you want to run NUnit tests in Visual Studio directly, -echo edit src\NHibernate.Test\App.config and change this property: -echo connection.connection_string -echo Note that you will need a third party tool to run tests in VS. -echo. -echo You will also need to create a database called "nhibernate" -echo if you just run the tests directly from VS. -echo. -goto end - -:help-larger-window -echo. -echo 1. Right click on the title bar of this window. -echo 2. Select "Properties". -echo 3. Select the "Layout" tab. -echo 4. Set the following options. -echo Screen Buffer Size -echo Width: 160 -echo Height: 9999 -echo Window Size -echo Width: 160 -echo Height: 50 -echo. -goto end - -:build-visual-studio -%NANT% visual-studio -goto end - -:build-debug -%NANT% clean build -echo. -echo Assuming the build succeeded, your results will be in the build folder. -echo. -goto end - -:build-release -%NANT% -D:project.config=release clean release -echo. -echo Assuming the build succeeded, your results will be in the build folder. -echo. -goto end - -:build-release-package -%NANT% -D:project.config=release clean package -echo. -echo Assuming the build succeeded, your results will be in the build folder. -echo. -goto end - -:build-test -%NANT% test -goto end - -:grammar -echo. -echo --- GRAMMAR --- -echo A. Regenerate all grammars. -echo Hql.g to HqlLexer.cs -echo Hql.g to HqlParser.cs -echo HqlSqlWalker.g to HqlSqlWalker.cs -echo SqlGenerator.g to SqlGenerator.cs -echo B. Regenerate all grammars, with Hql.g in debug mode. -echo C. Regenerate all grammars, with HqlSqlWalker.g in debug mode. -echo D. Regenerate all grammars, with SqlGenerator.g in debug mode. -echo E. Quick instructions on using debug mode. -echo. - -if exist %SYSTEMROOT%\System32\choice.exe ( goto grammar-prompt-choice ) -goto grammar-prompt-set - -:grammar-prompt-choice -choice /C:abcde - -if errorlevel 255 goto end -if errorlevel 5 goto antlr-debug -if errorlevel 4 goto antlr-sqlgenerator-debug -if errorlevel 3 goto antlr-hqlsqlwalker-debug -if errorlevel 2 goto antlr-hql-debug -if errorlevel 1 goto antlr-all -if errorlevel 0 goto end - -:grammar-prompt-set -set /p OPT=[A, B, C, D, E]? - -if /I "%OPT%"=="A" goto antlr-all -if /I "%OPT%"=="B" goto antlr-hql-debug -if /I "%OPT%"=="C" goto antlr-hqlsqlwalker-debug -if /I "%OPT%"=="D" goto antlr-sqlgenerator-debug -if /I "%OPT%"=="E" goto antlr-debug -goto grammar-prompt-set - -:antlr-all -echo *** Regenerating from Hql.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrHql.bat -echo *** Regenerating from HqlSqlWalker.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrHqlSqlWalker.bat -echo *** Regenerating from SqlGenerator.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrSqlGenerator.bat -goto end - -:antlr-hql-debug -echo *** Regenerating from Hql.g (Debug Enabled) -call src\NHibernate\Hql\Ast\ANTLR\AntlrHqlDebug.bat -echo *** Regenerating from HqlSqlWalker.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrHqlSqlWalker.bat -echo *** Regenerating from SqlGenerator.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrSqlGenerator.bat -goto end - -:antlr-hqlsqlwalker-debug -echo *** Regenerating from Hql.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrHql.bat -echo *** Regenerating from HqlSqlWalker.g (Debug Enabled) -call src\NHibernate\Hql\Ast\ANTLR\AntlrHqlSqlWalkerDebug.bat -echo *** Regenerating from SqlGenerator.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrSqlGenerator.bat -goto end - -:antlr-sqlgenerator-debug -echo *** Regenerating from Hql.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrHql.bat -echo *** Regenerating from HqlSqlWalker.g -call src\NHibernate\Hql\Ast\ANTLR\AntlrHqlSqlWalker.bat -echo *** Regenerating from SqlGenerator.g (Debug Enabled) -call src\NHibernate\Hql\Ast\ANTLR\AntlrSqlGeneratorDebug.bat -goto end - -:antlr-debug -echo To use the debug grammar: -echo 1. Create a unit test that runs the hql parser on the input you're interested in. -echo The one you want to debug must be the first grammar parsed. -echo 2. Run the unit test. It will appear to stall. -echo 3. Download and run AntlrWorks (java -jar AntlrWorks.jar). -echo 4. Open the grammar you intend to debug in AntlrWorks. -echo 5. Choose "Debug Remote" and accept the default port. -echo 6. You should now be connected and able to step through your grammar. -goto end - -:teamcity-menu -echo. -echo --- TeamCity (CI) build options -echo A. NHibernate Trunk (default SQL Server) -echo B. NHibernate Trunk - Firebird (32-bit) -echo C. NHibernate Trunk - Firebird (64-bit) -echo D. NHibernate Trunk - SQLite (32-bit) -echo E. NHibernate Trunk - SQLite (64-bit) -echo F. NHibernate Trunk - PostgreSQL -echo G. NHibernate Trunk - Oracle (32-bit) -echo. - -if exist %SYSTEMROOT%\System32\choice.exe ( goto teamcity-menu-prompt-choice ) -goto teamcity-menu-prompt-set - -:teamcity-menu-prompt-choice -choice /C:abcdefg - -if errorlevel 255 goto end -if errorlevel 7 goto teamcity-oracle32 -if errorlevel 6 goto teamcity-postgresql -if errorlevel 5 goto teamcity-sqlite64 -if errorlevel 4 goto teamcity-sqlite32 -if errorlevel 3 goto teamcity-firebird64 -if errorlevel 2 goto teamcity-firebird32 -if errorlevel 1 goto teamcity-trunk -if errorlevel 0 goto end - -:teamcity-menu-prompt-set -set /p OPT=[A, B, C, D, E, F, G]? - -if /I "%OPT%"=="A" goto teamcity-trunk -if /I "%OPT%"=="B" goto teamcity-firebird32 -if /I "%OPT%"=="C" goto teamcity-firebird64 -if /I "%OPT%"=="D" goto teamcity-sqlite32 -if /I "%OPT%"=="E" goto teamcity-sqlite64 -if /I "%OPT%"=="F" goto teamcity-postgresql -if /I "%OPT%"=="G" goto teamcity-oracle32 -goto teamcity-menu-prompt-set - -:teamcity-trunk -%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -goto end - -:teamcity-firebird32 -%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=firebird32 -goto end - -:teamcity-firebird64 -%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=firebird64 -goto end - -:teamcity-sqlite32 -%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=sqlite32 -goto end - -:teamcity-sqlite64 -%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=sqlite64 -goto end - -:teamcity-postgresql -%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=postgresql -goto end - -:teamcity-oracle32 -%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=oracle32 -goto end - -:end -popd -pause Added: trunk/nhibernate/___README___THIS_REPOSITORY_IS_OBSOLETE___AUTHORITATIVE_REPOSITORY_HAS_BEEN_MOVED.txt =================================================================== --- trunk/nhibernate/___README___THIS_REPOSITORY_IS_OBSOLETE___AUTHORITATIVE_REPOSITORY_HAS_BEEN_MOVED.txt (rev 0) +++ trunk/nhibernate/___README___THIS_REPOSITORY_IS_OBSOLETE___AUTHORITATIVE_REPOSITORY_HAS_BEEN_MOVED.txt 2011-08-22 13:28:09 UTC (rev 6038) @@ -0,0 +1,2 @@ +As of 8/21/2011 this repository has been officially deprecated. +The new NHibernate repository can be found at https://github.com/nhibernate/nhibernate-core \ No newline at end of file Deleted: trunk/nhibernate/default.build =================================================================== --- trunk/nhibernate/default.build 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/default.build 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,407 +0,0 @@ -<?xml version="1.0" ?> -<project - name="NHibernate" - default="build" - xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd" -> - - <property name="root.dir" value="." /> - - <include buildfile="${root.dir}/build-common/common.xml" /> - - <!-- Pass -D:skip.tests=true to NAnt to skip running tests when building --> - <property name="skip.tests" value="false" overwrite="false" /> - <property name="skip.manual" value="false" overwrite="false" /> - <!-- - Supported versions of .NET Framework, separated by spaces. - Used by *-all-frameworks targets. - --> - <property name="supported.frameworks" value="net-3.5" /> - - <fileset id="buildfiles.all" basedir="src"> - <!-- Files have to be in dependency order --> - <include name="Iesi.Collections/Iesi.Collections.build" /> - <include name="Iesi.Collections.Test/Iesi.Collections.Test.build" /> - <include name="NHibernate/NHibernate.build" /> - <include name="NHibernate.TestDatabaseSetup/TestDatabaseSetup.build" /> - <include name="NHibernate.DomainModel/NHibernate.DomainModel.build" /> - <include name="NHibernate.Test/NHibernate.Test.build" /> - <include name="NHibernate.Tool.HbmXsd/NHibernate.Tool.HbmXsd.build" /> - </fileset> - - <fileset id="buildfiles.tests" basedir="src"> - <include name="NHibernate.TestDatabaseSetup/TestDatabaseSetup.build" /> - <include name="Iesi.Collections.Test/Iesi.Collections.Test.build" /> - <include name="NHibernate.Test/NHibernate.Test.build" /> - </fileset> - - <target name="init" depends="common.init" - description="Initializes build properties" /> - - <target name="prepare-build-directory" depends="init"> - <mkdir dir="${bin.dir}" /> - <mkdir dir="${testresults.dir}" /> - <call target="copy-referenced-assemblies" /> - </target> - - <target name="copy-referenced-assemblies"> - <!-- Copy framework-neutral libraries --> - - <copy todir="${bin.dir}" > - <fileset basedir="${lib.dir}"> - <include name="*.dll" /> - <include name="*.xml" /> - <include name="*.license.txt" /> - <include name="nant/*.*" /> - </fileset> - </copy> - - <!-- Copy family-specific libraries --> - <!-- - The builds of log4net and nunit work just fine for all versions of .NET. - When they do get framework specific extensions then we - can just move them to the framework specific section - --> - <copy todir="${bin.dir}"> - <fileset basedir="${lib.family.dir}"> - <include name="*.dll" /> - <include name="*.xml" /> - <include name="*.license.txt" /> - </fileset> - </copy> - - <!-- Copy framework-specific libraries --> - <copy todir="${bin.dir}"> - <fileset basedir="${lib.framework.dir}"> - <!-- - Excludes the Iesi.Collections assembly because it is built during the build - of NHibernate. It is in the lib folder for VS.NET convenience. However, we - do want to copy the license file. - --> - <exclude name="Iesi.Collections.dll" /> - <exclude name="Iesi.Collections.xml" /> - <include name="*.dll" /> - <include name="*.xml" /> - <include name="*.license.txt" /> - </fileset> - </copy> - </target> - - <target name="build" - depends="check-framework-version init prepare-build-directory" - description="Builds NHibernate in the current configuration"> - - <nant target="build"> - <buildfiles refid="buildfiles.all" /> - </nant> - - </target> - - <target name="check-framework-version"> - <echo>Running with ${framework::get-target-framework()}</echo> - <fail message="ERROR: NHibernate requires .Net 3.5." if="${framework::get-target-framework()!='net-3.5'}"/> - </target> - - <target name="test-report" if="${nunit2report.installed}"> - <mkdir dir="${build.dir}/testresults" /> - <nunit2report out="${build.dir}/testresults/index.html" format="Frames" todir="${build.dir}/testresults"> - <fileset> - <include name="${bin.dir}/*results.xml" /> - </fileset> - </nunit2report> - </target> - - <target name="test" depends="init build" description="Runs all NHibernate tests for the current framework" unless="${skip.tests}"> - <nant target="test"> - <buildfiles refid="buildfiles.tests" /> - </nant> - </target> - - <target name="coverage-report" description="Builds the test coverage reports" - if="${clover.enabled}"> - - <mkdir dir="${build.dir}/clover" /> - <clover-setup - initstring="${clover.db}" - flushinterval="1000" - /> - - <clover-report> - <current title="NHibernate Clover Report" output="${build.dir}/clover" > - <format type="html" orderby="Alpha" /> - </current> - </clover-report> - - </target> - - <target name="doc" depends="init binaries" - description="Builds the Help Documentation and the API documentation"> - <nant buildfile="doc/documentation.build" target="api manual" /> - </target> - - <target name="reference" depends="init binaries" unless="${skip.manual}" - description="Builds Reference Manual"> - <nant buildfile="doc/documentation.build" target="manual" /> - </target> - - <target name="reference-zip" depends="init binaries" unless="${skip.manual}" - description="Builds Reference Manual zip"> - <nant buildfile="doc/documentation.build" target="manual-zip"/> - </target> - - <target name="api" depends="init binaries" - description="Builds the API Documentation"> - <nant buildfile="doc/documentation.build" target="api" /> - </target> - - <target name="build-all-frameworks" depends="init"> - <!-- Save the current framework --> - <property name="current.framework.saved" value="${nant.settings.currentframework}" /> - - <!-- Execute build for each framework --> - <foreach item="String" delim=" " property="framework" in="${supported.frameworks}"> - <call target="set-${framework}-framework-configuration" /> - <call target="build" /> - <!-- Copy and rename the license --> - <copy file="lgpl.txt" tofile="${bin.dir}/NHibernate.license.txt" /> - </foreach> - - <!-- Reset the current framework to the saved value --> - <call target="set-${current.framework.saved}-framework-configuration" /> - </target> - - <target name="binaries" depends="init"> - <property name="clover.enabled" value="false" /> - - <call target="build" /> - </target> - - <target name="test-all-frameworks" depends="init"> - <!-- Save the current framework --> - <property name="current.framework.saved" value="${nant.settings.currentframework}" /> - - <!-- Execute build for each framework --> - <foreach item="String" delim=" " property="framework" in="${supported.frameworks}"> - <call target="set-${framework}-framework-configuration" /> - <call target="test" /> - </foreach> - - <!-- Reset the current framework to the saved value --> - <call target="set-${current.framework.saved}-framework-configuration" /> - </target> - - <target name="reports" depends="init"> - <property name="clover.enabled" value="false" /> - <call target="test-all-frameworks" /> - <call target="test-report" /> - <call target="coverage-report" /> - </target> - - <target name="sources"> - <property name="source.tmpdir" value="${build.dir}/tmp-src" /> - <copy todir="${source.tmpdir}"> - <fileset> - <!-- copy dlls used by this build --> - <include name="${lib.dir}/**" /> - - <!-- copy all of the NHibernate source --> - <include name="src/NHibernate*/**" /> - <include name="src/Iesi*/**" /> - <include name="src/*.*" /> - - <include name="build-common/**" /> - - <include name="*.build" /> - <include name="gfdl.txt" /> - <include name="lgpl.txt" /> - <include name="releasenotes.txt" /> - <include name="readme.html" /> - - <!-- exclude the Clover modified source files. --> - <exclude name="${clover.src}/**" /> - - <!-- exclude ReSharper stuff --> - <exclude name="**/_ReSharper*/**" /> - <exclude name="**/*.resharperoptions" /> - <exclude name="**/*resharper*" /> - - <!-- exclude VS.NET stuff --> - <exclude name="**/*.suo" /> - <exclude name="**/*.user" /> - <exclude name="**/bin/**" /> - <exclude name="**/obj/**" /> - </fileset> - </copy> - - <!-- Generate AssemblyInfo.cs files for Visual Studio --> - <nant buildfile="${source.tmpdir}/default.build" target="visual-studio" /> - - </target> - - <target name="sources-zip" depends="init sources"> - <zip zipfile="${build.dir}/NHibernate-${project.version}-src.zip"> - <fileset basedir="${source.tmpdir}"> - <include name="**/*" /> - </fileset> - </zip> - </target> - - <target name="binaries-zip" depends="init bin-pack"> - <zip zipfile="${build.dir}/NHibernate-${project.version}-bin.zip"> - <fileset basedir="${bin-pack.tmpdir}"> - <include name="**/*" /> - </fileset> - </zip> - </target> - - <target name="bin-pack" depends="init binaries"> - <property name="bin-pack.tmpdir" value="${build.dir}/tmp-bin" /> - <property name="bin-pack.conf-template" value="${bin-pack.tmpdir}/Configuration_Templates" /> - <property name="bin-pack.required" value="${bin-pack.tmpdir}/Required_Bins" /> - <property name="bin-pack.tests" value="${bin-pack.tmpdir}/Tests" /> - - <copy file="releasenotes.txt" todir="${bin-pack.tmpdir}"/> - <copy file="readme.html" todir="${bin-pack.tmpdir}"/> - <copy file="lgpl.txt" todir="${bin-pack.tmpdir}/NHibernate.license.txt"/> - <copy file="gfdl.txt" todir="${bin-pack.tmpdir}"/> - <copy file="HowInstall.txt" todir="${bin-pack.tmpdir}"/> - - <!--Configuration templates--> - <copy todir="${bin-pack.conf-template}"> - <fileset basedir="src/NHibernate.Config.Templates"> - <include name="*"/> - </fileset> - </copy> - - <!--Minimal Required Bins--> - <copy todir="${bin-pack.required}"> - <fileset basedir="src/NHibernate"> - <include name="*.xsd" /> - </fileset> - </copy> - <copy todir="${bin-pack.required}"> - <fileset basedir="${bin.dir}"> - <include name="Iesi.Collections.???" /> - <include name="NHibernate.???" /> - </fileset> - </copy> - <!--Required Bins for lazy loading NHibernate.ByteCode.Castle.dll--> - <!-- Tests --> - <copy file="${bin.dir}/TestEnbeddedConfig.cfg.xml" todir="${bin-pack.tests}"/> - <copy file="${bin.dir}/ABC.hbm.xml" todir="${bin-pack.tests}"/> - <copy todir="${bin-pack.tests}/DbScripts"> - <fileset basedir="${root.dir}/src/NHibernate.Test/DbScripts"> - <include name="*.sql" /> - </fileset> - </copy> - <copy todir="${bin-pack.tests}"> - <fileset basedir="${bin.dir}"> - <include name="nunit*" /> - <include name="SharpTestsEx*" /> - <include name="NHibernate.Domain*" /> - <include name="NHibernate.Test*" /> - <include name="log4net*" /> - </fileset> - </copy> - </target> - - <target name="package" depends="init binaries test reference-zip sources-zip binaries-zip" - description="Creates files for the General Available Release on SourceForge"> - - <echo message="Created a '${project.config}' package in ${build.dir}" /> - </target> - - <target name="release" depends="init binaries binaries-zip sources-zip" - description="Creates files for the partial (Alpha-Beta-Candidate) Release on SourceForge"> - - <echo message="Created a '${project.config}' package in ${build.dir}" /> - </target> - - <target name="visual-studio" depends="init" description="Modifies AssemblyInfo.cs files to work with Visual Studio"> - <property name="visual-studio" value="true" /> - <nant target="generate-assemblyinfo"> - <buildfiles refid="buildfiles.all" /> - </nant> - </target> - - <target name="cleanall" description="Deletes every build configuration"> - <echo message="Deleting all builds from all configurations" /> - <delete dir="build" failonerror="false" /> - <delete dir="${clover.src}" failonerror="false" /> - </target> - - <target name="clean" depends="init" description="Deletes current build"> - <delete dir="${build.dir}" failonerror="false" /> - <delete dir="${clover.src}" failonerror="false" /> - </target> - - <target name="gen-schema-classes" descripton="Generates schema classes from nhibernate-mapping.xsd"> - <exec program="xsd.exe" - commandline="src\NHibernate\nhibernate-mapping.xsd /classes /fields /order /namespace:NHibernate.Cfg.MappingSchema /out:src\NHibernate\Cfg\MappingSchema\"/> - - </target> - - <fileset id="nugetfiles.all" basedir="src"> - <include name="Iesi.Collections/Iesi.Collections.build" /> - <include name="NHibernate/NHibernate.build" /> - </fileset> - - <target name="nuspec" depends="init nuget.set-properties" description="Create nuspec files"> - <nant target="nuspec"> - <buildfiles refid="nugetfiles.all" /> - </nant> - </target> - - <target name="nuget" depends="init binaries nuget.set-properties nuspec" - description="Creates files for the release on nuget gallery."> - - <nant target="nuget"> - <buildfiles refid="nugetfiles.all" /> - </nant> - - <mkdir dir="${nuget.nupackages.dir}" /> - <move todir="${nuget.nupackages.dir}"> - <fileset basedir="${nuget.workingdir}"> - <include name="*.nupkg" /> - </fileset> - </move> - </target> - - <target name="nugetpushbat" depends="init binaries nuget.set-properties nuspec nuget" - description="Creates files for the release on nuget gallery."> - - <copy file="${tools.dir}/NuGet.exe" todir="${nuget.nupackages.dir}"/> - - <echo message="rem In order to use this bat you have to be sure you have executed 'nuget SetApiKey' ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="false"/> - <foreach item="File" property="filename"> - <in> - <items> - <include name="${nuget.nupackages.dir}/*.nupkg"/> - </items> - </in> - <do> - <echo message="nuget push -source http://packages.nuget.org/v1/ ${filename} ${environment::newline()}" file="${nuget.nupackages.pushbatfile}" append="true"/> - </do> - </foreach> - </target> - - <target name="nugetpush" depends="init binaries nuget.set-properties nuspec nuget" - description="Push packages on nuget gallery."> - <!-- In order to use this task you have to be sure you have executed 'nuget SetApiKey' --> - <foreach item="File" property="filename"> - <in> - <items> - <include name="${nuget.nupackages.dir}/*.nupkg"/> - </items> - </in> - <do> - <exec basedir="${tools.dir}" workingdir="${nuget.nupackages.dir}" program="NuGet.exe"> - <arg value="push" /> - <arg line="-source http://packages.nuget.org/v1/"/> - <arg value="${filename}" /> - </exec> - </do> - </foreach> - </target> - -</project> Deleted: trunk/nhibernate/readme.html =================================================================== --- trunk/nhibernate/readme.html 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/readme.html 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,60 +0,0 @@ -<html> - <head> - <title>NHibernate.org - Welcome</title> - </head> - <body> - <h1>Welcome to NHibernate!</h1> - <hr> - <p> - <a href="http://www.nhforge.org/">NHibernate</a> is a .NET based object persistence library for relational databases. - NHibernate is a port of the excellent Java <a href="http://www.hibernate.org/">Hibernate</a> - relational persistence tool. - </p> - <p> - You can find tutorials and samples in the <a href="http://www.nhforge.org/">NHibernate community site</a> - <a href="http://nhforge.org/wikis/">wiki</a> and <a href="http://nhforge.org/blogs/nhibernate/">blog</a>. - </p> - <h2>Latest Version</h2> - <p> - Details of the latest version of NHibernate can be found on SourceForge at - <a href="http://sourceforge.net/projects/nhibernate/">http://sourceforge.net/projects/nhibernate/</a>. - </p> - - <h2>Documentation</h2> - <p> - All available resources on NHibernate can be found online: - <a href="http://nhibernate.deepgrok.com/">NHibernate deep grok</a>. - </p> - <p> - The reference documentation for NHibernate is available <a - href="http://nhforge.org/doc/nh/en/index.html">on-line on the website</a>. - </p> - - <h2>Bug Reports</h2> - <p> - If you find any bugs please use the <a href="http://jira.nhforge.org/">JIRA bug tracker</a>. - </p> - - <h2>Licenses</h2> - <p> - This software is distributed under the terms of the FSF Lesser GNU Public License (see lgpl.txt). - </p> - - <p> - This product uses software developed by the Apache Software Foundation (http://www.apache.org/). - </p> - <ul> - <li>log4net</li> - </ul> - - <p> - This product includes source code from an article written by Jason Smith. - </p> - <ul> - <li> - Iesi.Collections - original code can be found at <a href="http://www.codeproject.com/csharp/sets.asp"> - Add Support for "Set" Collections to .NET</a> - </li> - </ul> - </body> -</html> Modified: trunk/nhibernate/releasenotes.txt =================================================================== --- trunk/nhibernate/releasenotes.txt 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/releasenotes.txt 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,3 +1,6 @@ +YOU ARE SEEING AN OUTDATED VERSION OF THIS FILE +The new NHibernate repository can be found at https://github.com/nhibernate/nhibernate-core + ** Known BREAKING CHANGES from NH3.1.0.GA to NH3.2.0.GA ##### Design time ##### * removed obsolete "use_outer_join" property from nhibernate-configuration.xsd (simply remove it from your xml configuration) Deleted: trunk/nhibernate/sample build commands.txt =================================================================== --- trunk/nhibernate/sample build commands.txt 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/sample build commands.txt 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,39 +0,0 @@ -## -## This file contains sample commands to build NHibernate using the build files. -## It should be run from the nhibernate directory that contains the -## NHibernateSolution.build file. -## -## If you are going to run the Test make sure to set the connection information. -## -## - - -NAnt -D:project.config=release clean build >output-release-build.log - -NAnt clean build >output-debug-build.log - -NAnt -D:project.config=release -D:nhibernate.dialect="NHibernate.Dialect.MsSql2000Dialect" -D:nhibernate.connection.driver_class="NHibernate.Driver.SqlClientDriver" -D:nhibernate.connection.connection_string="Server=localhost;initial catalog=nhibernate;User ID=blah;Password=blah;Min Pool Size=2" clean package >output-release-package.log - -## You can exclude certain modules from being built by setting following properties to false -## -## with.tools -## with.examples -## -## - or - -## -## You can set with.core.only=true and then add the modules you want by -## specifiy true instead of false. -## - -## Build Everything But Jet -NAnt -D:with.examples=false - -## Build Only The Core -NAnt -D:with.core.only=true - -## Build API documentation (you should have Sandcastle installed) -Nant api - -## Build reference manual -Nant manual - Deleted: trunk/nhibernate/src/Iesi.Collections.sln =================================================================== --- trunk/nhibernate/src/Iesi.Collections.sln 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/src/Iesi.Collections.sln 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,24 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iesi.Collections", "Iesi.Collections\Iesi.Collections.csproj", "{4C251E3E-6EA1-4A51-BBCB-F9C42AE55344}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iesi.Collections.Test", "Iesi.Collections.Test\Iesi.Collections.Test.csproj", "{58CE4584-31B9-4E74-A7FB-5D40BFAD0876}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4C251E3E-6EA1-4A51-BBCB-F9C42AE55344}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4C251E3E-6EA1-4A51-BBCB-F9C42AE55344}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4C251E3E-6EA1-4A51-BBCB-F9C42AE55344}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4C251E3E-6EA1-4A51-BBCB-F9C42AE55344}.Release|Any CPU.Build.0 = Release|Any CPU - {58CE4584-31B9-4E74-A7FB-5D40BFAD0876}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {58CE4584-31B9-4E74-A7FB-5D40BFAD0876}.Debug|Any CPU.Build.0 = Debug|Any CPU - {58CE4584-31B9-4E74-A7FB-5D40BFAD0876}.Release|Any CPU.ActiveCfg = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal Deleted: trunk/nhibernate/src/NHibernate/NHibernate.build =================================================================== --- trunk/nhibernate/src/NHibernate/NHibernate.build 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/src/NHibernate/NHibernate.build 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,131 +0,0 @@ -<?xml version="1.0" ?> - -<project - name="NHibernate" - default="build" - xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd" -> - - <property name="nuspec.destination.filename" value="NHibernate.nuspec" /> - <property name="root.dir" value="../.." /> - <include buildfile="${root.dir}/build-common/common-project.xml" /> - - <target name="init" depends="common.init"> - <property name="assembly.description" value="An object persistence library for relational databases." /> - <property name="assembly.allow-partially-trusted-callers" value="true" /> - <property name="clover.instrument" value="true" /> - <property name="project.output" value="${bin.dir}/unmerged/NHibernate.dll" /> - - <assemblyfileset id="project.references" basedir="${bin.dir}"> - <include name="System.dll" /> - <include name="System.Transactions.dll" /> - <include name="System.Configuration.dll" /> - <include name="System.XML.dll" /> - <include name="System.Data.dll" /> - <include name="Iesi.Collections.dll" /> - <include name="Antlr3.Runtime.dll" /> - <include name="Remotion.Linq.dll" /> - </assemblyfileset> - - <resourcefileset id="project.resources" prefix="NHibernate" dynamicprefix="true"> - <include name="*.xsd" /> - <include name="**/*.xml" /> - <exclude name="bin/**/*.xml" /> - </resourcefileset> - - <fileset id="project.sources"> - <include name="**/*.cs" /> - </fileset> - </target> - - <target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" /> - - <target name="ilmerge" depends="generate-assemblyinfo common.compile-dll"> - <uptodate property="NHibernate.dll.uptodate"> - <sourcefiles> - <include name="${bin.dir}/unmerged/NHibernate.dll"/> - </sourcefiles> - <targetfiles> - <include name="${bin.dir}/NHibernate.dll" /> - </targetfiles> - </uptodate> - - <if test="${not NHibernate.dll.uptodate}"> - <mkdir dir="${bin.dir}/merged" /> - - <!-- Merge everything that should be internal --> - <copy file="${bin.dir}/unmerged/NHibernate.dll" tofile="${bin.dir}/NHibernate.dll" /> - <copy file="${bin.dir}/unmerged/NHibernate.pdb" tofile="${bin.dir}/NHibernate.pdb" /> - - <exec program="../../Tools/ILMerge/ILMerge.exe"> - <arg value="/t:library" /> - <arg value="/internalize" /> - <arg value="/keyfile:../NHibernate.snk" /> - <arg value="/out:${bin.dir}/merged/NHibernate.dll" /> - <arg value="${bin.dir}/NHibernate.dll" /> - <arg value="${bin.dir}/Antlr3.Runtime.dll" /> - </exec> - - <delete file="${bin.dir}/Antlr3.Runtime.dll" /> - - <!-- Merge everything that should be accessible --> - <copy file="${bin.dir}/merged/NHibernate.dll" tofile="${bin.dir}/NHibernate.dll" /> - <copy file="${bin.dir}/merged/NHibernate.pdb" tofile="${bin.dir}/NHibernate.pdb" /> - - <exec program="../../Tools/ILMerge/ILMerge.exe"> - <arg value="/t:library" /> - <arg value="/keyfile:../NHibernate.snk" /> - <arg value="/out:${bin.dir}/merged/NHibernate.dll" /> - <arg value="${bin.dir}/NHibernate.dll" /> - <arg value="${bin.dir}/Remotion.Linq.dll" /> - </exec> - - <delete file="${bin.dir}/Remotion.Linq.dll" /> - - <!-- Put merged files in appropriate places --> - <move file="${bin.dir}/merged/NHibernate.dll" tofile="${bin.dir}/NHibernate.dll" /> - <move file="${bin.dir}/merged/NHibernate.pdb" tofile="${bin.dir}/NHibernate.pdb" /> - <delete dir="${bin.dir}/merged" /> - </if> - </target> - - <target name="build" description="Build NHibernate" depends="ilmerge"> - <copy file="${bin.dir}/NHibernate.dll" tofile="${root.dir}/${lib.framework.dir}/NHibernate.dll"/> - </target> - - <target name="nuspec" depends="init nuget.set-properties" description="Create nuspec for NHibernate"> - <property name="nuspec.destination.file" value="${nuget.workingdir}/${nuspec.destination.filename}" /> - <copy file="NHibernate.nuspec.template" tofile="${nuspec.destination.file}"/> - <xmlpoke file="${nuspec.destination.file}" - xpath="/package/metadata/dependencies/dependency[@id = 'Iesi.Collections']/@version" - value="${project.version.numeric}" /> - <xmlpoke file="${nuspec.destination.file}" - xpath="/package/metadata/version" - value="${project.version.numeric}" /> - </target> - - <target name="nuget" depends="init nuget.set-properties nuspec"> - <!-- Prepare working dir with file needed by NHibernate.nuspec --> - <copy file="${bin.dir}/NHibernate.dll" todir="${nuget.workingdir}"/> - <copy file="${bin.dir}/NHibernate.xml" todir="${nuget.workingdir}"/> - <copy file="${root.dir}/releasenotes.txt" tofile="${nuget.workingdir}/NHibernate.releasenotes.txt"/> - <copy file="${root.dir}/readme.html" tofile="${nuget.workingdir}/NHibernate.readme.html"/> - <copy file="${root.dir}/lgpl.txt" tofile="${nuget.workingdir}/NHibernate.license.txt"/> - <copy todir="${nuget.workingdir}"> - <fileset basedir="${root.dir}/src/NHibernate"> - <include name="*.xsd" /> - </fileset> - </copy> - <copy todir="${nuget.workingdir}/NHibernateXmlConfigurationTemplates"> - <fileset basedir="../NHibernate.Config.Templates"> - <include name="*"/> - </fileset> - </copy> - - <exec basedir="${tools.dir}" workingdir="${nuget.workingdir}" program="NuGet.exe"> - <arg value="pack" /> - <arg value="${nuspec.destination.filename}" /> - </exec> - </target> - -</project> Deleted: trunk/nhibernate/src/NHibernate/NHibernate.csproj =================================================================== --- trunk/nhibernate/src/NHibernate/NHibernate.csproj 2011-08-22 13:27:24 UTC (rev 6037) +++ trunk/nhibernate/src/NHibernate/NHibernate.csproj 2011-08-22 13:28:09 UTC (rev 6038) @@ -1,1827 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProductVersion>9.0.30729</ProductVersion> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{5909BFE7-93CF-4E5F-BE22-6293368AF01D}</ProjectGuid> - <OutputType>Library</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>NHibernate</RootNamespace> - <AssemblyName>NHibernate</AssemblyName> - <FileUpgradeFlags> - </FileUpgradeFlags> - <OldToolsVersion>3.5</OldToolsVersion> - <UpgradeBackupLocation> - </UpgradeBackupLocation> - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> - <PublishUrl>publish\</PublishUrl> - <Install>true</Install> - <InstallFrom>Disk</InstallFrom> - <UpdateEnabled>false</UpdateEnabled> - <UpdateMode>Foreground</UpdateMode> - <UpdateInterval>7</UpdateInterval> - <UpdateIntervalUnits>Days</UpdateIntervalUnits> - <UpdatePeriodically>false</UpdatePeriodically> - <UpdateRequired>false</UpdateRequired> - <MapFileExtensions>true</MapFileExtensions> - <ApplicationRevision>0</ApplicationRevision> - <ApplicationVersion>1.0.0.%2a</ApplicationVersion> - <IsWebBootstrapper>false</IsWebBootstrapper> - <UseApplicationTrust>false</UseApplicationTrust> - <BootstrapperEnabled>true</BootstrapperEnabled> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>bin\Debug-2.0\</OutputPath> - <BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath> - <IntermediateOutputPath>obj\Debug-2.0\</IntermediateOutputPath> - <DefineConstants> - </DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <DocumentationFile>bin\Debug-2.0\NHibernate.XML</DocumentationFile> - <NoWarn>1591%3b3001%3b3002%3b3003%3b3004%3b3005</NoWarn> - <WarningsAsErrors>1717;1574</WarningsAsErrors> - <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release-2.0\</OutputPath> - <BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath> - <IntermediateOutputPath>obj\Release-2.0\</IntermediateOutputPath> - <DefineConstants>TRACE;NET_2_0</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <NoWarn>3001%3b3002%3b3003%3b3004%3b3005</NoWarn> - <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> - </PropertyGroup> - <ItemGroup> - <Reference Include="System" /> - <Reference Include="System.Core"> - <RequiredTargetFramework>3.5</RequiredTargetFramework> - </Reference> - <Reference Include="System.Data" /> - <Reference Include="System.ServiceModel"> - <RequiredTargetFramework>3.0</RequiredTargetFramework> - </Reference> - <Reference Include="System.Transactions" /> - <Reference Include="System.Xml" /> - <Reference Include="Antlr3.Runtime, Version=3.1.0.39271, Culture=neutral, PublicKeyToken=3a9cab8f8d22bfb7"> - <SpecificVersion>False</SpecificVersion> - <HintPath>..\..\lib\net\3.5\Antlr3.Runtime.dll</HintPath> - </Reference> - <Reference Include="Iesi.Collections, Version=1.0.1.0, Culture=neutral, PublicKeyToken=aa95f207798dfdb4"> - <SpecificVersion>False</SpecificVersion> - <HintPath>..\..\lib\net\3.5\Iesi.Collections.dll</HintPath> - </Reference> - <Reference Include="Remotion.Linq, Version=1.13.100.2, Culture=neutral, PublicKeyToken=cab60358ab4081ea"> - <SpecificVersion>False</SpecificVersion> - <HintPath>..\..\lib\net\3.5\Remotion.Linq.dll</HintPath> - </Reference> - <Reference Include="System.Configuration" /> - <Reference Include="System.Xml.Linq"> - <RequiredTargetFramework>3.5</RequiredTargetFramework> - </Reference> - </ItemGroup> - <ItemGroup> - <Compile Include="ADOException.cs" /> - <Compile Include="AssemblyInfo.cs" /> - <Compile Include="AssertionFailure.cs" /> - <Compile Include="Bytecode\DefaultProxyFactoryFactory.cs" /> - <Compile Include="Cache\Access\ISoftLock.cs" /> - <Compile Include="Cache\CachedItem.cs" /> - <Compile Include="Cache\CacheException.cs" /> - <Compile Include="Cache\CacheFactory.cs" /> - <Compile Include="Cache\CacheLock.cs" /> - <Compile Include="Cache\HashtableCache.cs" /> - <Compile Include="Cache\HashtableCacheProvider.cs" /> - <Compile Include="Cache\ICache.cs" /> - <Compile Include="Cache\ICacheConcurrencyStrategy.cs" /> - <Compile Include="Cache\ICacheProvider.cs" /> - <Compile Include="Cache\IQueryCache.cs" /> - <Compile Include="Cache\IQueryCacheFactory.cs" /> - <Compile Include="Cache\NonstrictReadWriteCache.cs" /> - <Compile Include="Cache\QueryKey.cs" /> - <Compile Include="Cache\ReadOnlyCache.cs" /> - <Compile Include="Cache\ReadWriteCache.cs" /> - <Compile Include="Cache\StandardQueryCache.cs" /> - <Compile Include="Cache\StandardQueryCacheFactory.cs" /> - <Compile Include="Cache\Timestamper.cs" /> - <Compile Include="Cache\UpdateTimestampsCache.cs" /> - <Compile Include="CallbackException.cs" /> - <Compile Include="Cfg\Loquacious\INamedQueryDefinitionBuilder.cs" /> - <Compile Include="Cfg\MappingsQueue.cs" /> - <Compile Include="Cfg\Configuration.cs" /> - <Compile Include="Cfg\ConfigurationSectionHandler.cs" /> - <Compile Include="Cfg\DefaultNamingStrategy.cs" /> - <Compile Include="Cfg\Environment.cs" /> - <Compile Include="Cfg\ImprovedNamingStrategy.cs" /> - <Compile Include="Cfg\INamingStrategy.cs" /> - <Compile Include="Cfg\Mappings.cs" /> - <Compile Include="Cfg\Settings.cs" /> - <Compile Include="Cfg\SettingsFactory.cs" /> - <Compile Include="Collection\IPersistentCollection.cs" /> - <Compile Include="Connection\ConnectionProvider.cs" /> - <Compile Include="Connection\ConnectionProviderFactory.cs" /> - <Compile Include="Connection\DriverConnectionProvider.cs" /> - <Compile Include="Connection\IConnectionProvider.cs" /> - <Compile Include="Connection\UserSuppliedConnectionProvider.cs" /> - <Compile Include="Criterion\IEnhancedProjection.cs" /> - <Compile Include="Dialect\DB2Dialect.cs" /> - <Compile Include="Dialect\Dialect.cs" /> - <Compile Include="Dialect\FirebirdDialect.cs" /> - <Compile Include="Dialect\GenericDialect.cs" /> - <Compile Include="Dialect\MsSql2000Dialect.cs" /> - <Compile Include="Dialect\MsSql7Dialect.cs" /> - <Compile Include="Dialect\MsSqlAzure2008Dialect.cs" /> - <Compile Include="Dialect\MySQLDialect.cs" /> - <Compile Include="Dialect\PostgreSQLDialect.cs" /> - <Compile Include="Dialect\Schema\PostgreSQLMetadata.cs" /> - <Compile Include="Dialect\SQLiteDialect.cs" /> - <Compile Include="Dialect\SybaseASE15Dialect.cs" /> - <Compile Include="Dialect\SybaseSQLAnywhere10Dialect.cs" /> - <Compile Include="Dialect\SybaseSQLAnywhere11Dialect.cs" /> - <Compile Include="Dialect\TypeNames.cs" /> - <Compile Include="Driver\DB2Driver.cs" /> - <Compile Include="Driver\DriverBase.cs" /> - <Compile Include="Driver\FirebirdDriver.cs" /> - <Compile Include="Driver\IDriver.cs" /> - <Compile Include="Driver\IResultSetsCommand.cs" /> - <Compile Include="Driver\MySqlDataDriver.cs" /> - <Compile Include="Driver\NDataReader.cs" /> - <Compile Include="Driver\NHybridDataReader.cs" /> - <Compile Include="Driver\NpgsqlDriver.cs" /> - <Compile Include="Driver\OdbcDriver.cs" /> - <Compile Include="Driver\OleDbDriver.cs" /> - <Compile Include="Driver\OracleClientDriver.cs" /> - <Compile Include="Driver\OracleDataClientDriver.cs" /> - <Compile Include="Driver\Sql2008ClientDriver.cs" /> - <Compile Include="Driver\SqlClientDriver.cs" /> - <Compile Include="Driver\BasicResultSetsCommand.cs" /> - <Compile Include="Driver\SQLiteDriver.cs" /> - <Compile Include="Driver\SybaseAsaClientDriver.cs" /> - <Compile Include="Driver\SybaseAseClientDriver.cs" /> - <Compile Include="Driver\SybaseSQLAnywhereDriver.cs" /> - <Compile Include="Engine\Cascade.cs" /> - <Compile Include="Engine\IBatcher.cs" /> - <Compile Include="Engine\IMapping.cs" /> - <Compile Include="Engine\ISessionFactoryImplementor.cs" /> - <Compile Include="Engine\ISessionImplementor.cs" /> - <Compile Include="Engine\QueryParameters.cs" /> - <Compile Include="Engine\RowSelection.cs" /> - <Compile Include="Engine\TypedValue.cs" /> - <Compile Include="Engine\UnsavedValueFactory.cs" /> - <Compile Include="Engine\Versioning.cs" /> - <Compile Include="Event\Default\EventCache.cs" /> - <Compile Include="Exceptions\ADOExceptionHelper.cs" /> - <Compile Include="Criterion\AbstractCriterion.cs" /> - <Compile Include="Criterion\AndExpression.cs" /> - <Compile Include="Criterion\BetweenExpression.cs" /> - <Compile Include="Criterion\Conjunction.cs" /> - <Compile Include="Criterion\Disjunction.cs" /> - <Compile Include="Criterion\EqPropertyExpression.cs" /> - <Compile Include="Criterion\Example.cs" /> - <Compile Include="Criterion\Expression.cs" /> - <Compile Include="Criterion\ICriterion.cs" /> - <Compile Include="Criterion\InExpression.cs" /> - <Compile Include="Criterion\InsensitiveLikeExpression.cs" /> - <Compile Include="Criterion\Junction.cs" /> - <Compile Include="Criterion\LePropertyExpression.cs" /> - <Compile Include="Criterion\LikeExpression.cs" /> - <Compile Include="Criterion\LogicalExpression.cs" /> - <Compile Include="Criterion\LtPropertyExpression.cs" /> - <Compile Include="Criterion\MatchMode.cs" /> - <Compile Include="Criterion\NotExpression.cs" /> - <Compile Include="Criterion\NotNullExpression.cs" /> - <Compile Include="Criterion\NullExpression.cs" /> - <Compile Include="Criterion\Order.cs" /> - <Compile Include="Criterion\OrExpression.cs" /> - <Compile Include="Criterion\PropertyExpression.cs" /> - <Compile Include="Criterion\SimpleExpression.cs" /> - <Compile Include="Criterion\SQLCriterion.cs" /> - <Compile Include="FetchMode.cs" /> - <Compile Include="FlushMode.cs" /> - <Compile Include="HibernateException.cs" /> - <Compile Include="Hql\Ast\ANTLR\Tree\ComponentJoin.cs" /> - <Compile Include="Hql\Classic\ClauseParser.cs" /> - <Compile Include="Hql\Classic\FromParser.cs" /> - <Compile Include="Hql\Classic\FromPathExpressionParser.cs" /> - <Compile Include="Hql\Classic\GroupByParser.cs" /> - <Compile Include="Hql\Classic\HavingParser.cs" /> - <Compile Include="Hql\Classic\IParser.cs" /> - <Compile Include="Hql\Classic\OrderByParser.cs" /> - <Compile Include="Hql\Classic\ParserHelper.cs" /> - <Compile Include="Hql\Classic\PathExpressionParser.cs" /> - <Compile Include="Hql\Classic\PreprocessingParser.cs" /> - <Compile Include="Hql\Classic\QueryTranslator.cs" /> - <Compile Include="Hql\Classic\SelectParser.cs" /> - <Compile Include="Hql\Classic\SelectPathExpressionParser.cs" /> - <Compile Include="Hql\Classic\WhereParser.cs" /> - <Compile Include="ICriteria.cs" /> - <Compile Include="IDatabinder.cs" /> - <Compile Include="Id\Assigned.cs" /> - <Compile Include="Id\CounterGenerator.cs" /> - <Compile Include="Id\ForeignGenerator.cs" /> - <Compile Include="Id\GuidCombGenerator.cs" /> - <Compile Include="Id\GuidGenerator.cs" /> - <Compile Include="Id\IConfigurable.cs" /> - <Compile Include="Id\IdentifierGenerationException.cs" /> - <Compile Include="Id\IdentifierGeneratorFactory.cs" /> - <Compile Include="Id\IdentityGenerator.cs" /> - <Compile Include="Id\IIdentifierGenerator.cs" /> - <Compile Include="Id\IncrementGenerator.cs" /> - <Compile Include="Id\IPersistentIdentifierGenerator.cs" /> - <Compile Include="Id\SequenceGenerator.cs" /> - <Compile Include="Id\SequenceHiLoGenerator.cs" /> - <Compile Include="Id\TableGenerator.cs" /> - <Compile Include="Id\TableHiLoGenerator.cs" /> - <Compile Include="Id\UUIDHexGenerator.cs" /> - <Compile Include="Id\UUIDStringGenerator.cs" /> - <Compile Include="IInterceptor.cs" /> - <Compile Include="Impl\AbstractQueryImpl.cs" /> - <Compile Include="AdoNet\AbstractBatcher.cs" /> - <Compile Include="AdoNet\OracleDataClientBatchingBatcher.cs" /> - <Compile Include="AdoNet\SqlClientBatchingBatcher.cs" /> - <Compile Include="Cache\Entry\CacheEntry.cs" /> - <Compile Include="Engine\CollectionEntry.cs" /> - <Compile Include="Engine\CollectionKey.cs" /> - <Compile Include="Impl\CriteriaImpl.cs" /> - <Compile Include="Engine\EntityEntry.cs" /> - <Compile Include="Impl\EnumerableImpl.cs" /> - <Compile Include="Impl\FilterImpl.cs" /> - <Compile Include="Impl\MessageHelper.cs" /> - <Compile Include="AdoNet\NonBatchingBatcher.cs" /> - <Compile Include="Impl\Printer.cs" /> - <Compile Include="Impl\QueryImpl.cs" /> - <Compile Include="Event\Default\ReattachVisitor.cs" /> - <Compile Include="Impl\SessionFactoryImpl.cs" /> - <Compile Include="Impl\SessionFactoryObjectFactory.cs" /> - <Compile Include="Impl\SessionImpl.cs" /> - <Compile Include="Impl\SqlQueryImpl.cs" /> - <Compile Include="Engine\Status.cs" /> - <Compile Include="InstantiationException.cs" /> - <Compile Include="Intercept\DefaultDynamicLazyFieldInterceptor.cs" /> - <Compile Include="IQuery.cs" /> - <Compile Include="ISession.cs" /> - <Compile Include="ISessionFactory.cs" /> - <Compile Include="ITransaction.cs" /> - <Compile Include="LazyInitializationException.cs" /> - <Compile Include="Linq\Clauses\NhJoinClause.cs" /> - <Compile Include="Linq\Functions\DictionaryGenerator.cs" /> - <Compile Include="Linq\ReWriters\AddJoinsReWriter.cs" /> - <Compile Include="Linq\ReWriters\MoveOrderByToEndRewriter.cs" /> - <Compile Include="Linq\ReWriters\ResultOperatorRewriter.cs" /> - <Compile Include="Linq\ReWriters\ResultOperatorRewriterResult.cs" /> - <Compile Include="Linq\Visitors\AbstractJoinDetector.cs" /> - <Compile Include="Linq\Visitors\PossibleValueSet.cs" /> - <Compile Include="Linq\Visitors\ResultOperatorProcessors\ProcessAggregateFromSeed.cs" /> - <Compile Include="Linq\Visitors\SelectAndOrderByJoinDetector.cs" /> - <Compile Include="Linq\Visitors\WhereJoinDetector.cs" /> - <Compile Include="Loader\TopologicalSorter.cs" /> - <Compile Include="Loader\Loader.cs" /> - <Compile Include="Loader\OuterJoinLoader.cs" /> - <Compile Include="LockMode.cs" /> - <Compile Include="MappingException.cs" /> - <Compile Include="Mapping\Any.cs" /> - <Compile Include="Mapping\Array.cs" /> - <Compile Include="Mapping\Bag.cs" /> - <Compile Include="Mapping\ByCode\AbstractExplicitlyDeclaredModel.cs" /> - <Compile Include="Mapping\ByCode\CacheInclude.cs" /> - <Compile Include="Mapping\ByCode\CacheUsage.cs" /> - <Compile Include="Mapping\ByCode\Cascade.cs" /> - <Compile Include="Mapping\ByCode\CascadeExtensions.cs" /> - <Compile Include="Mapping\ByCode\CollectionFetchMode.cs" /> - <Compile Include="Mapping\ByCode\CollectionLazy.cs" /> - <Compile Include="Mapping\ByCode\Conformist\ClassMapping.cs" /> - <Compile Include="Mapping\ByCode\Conformist\ComponentMapping.cs" /> - <Compile Include="Mapping\ByCode\Conformist\JoinedSubclassMapping.cs" /> - <Compile Include="Mapping\ByCode\Conformist\SubclassMapping.cs" /> - <Compile Include="Mapping\ByCode\Conformist\UnionSubclassMapping.cs" /> - <Compile Include="Mapping\ByCode\ICompositeIdMapper.cs" /> - <Compile Include="Mapping\ByCode\IDynamicComponentAttributesMapper.cs" /> - <Compile Include="Mapping\ByCode\IManyToAnyMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ComponentAsIdLikeComponetAttributesMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ComponentAsIdMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ComposedIdMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\CustomizersImpl\ComponentAsIdCustomizer.cs" /> - <Compile Include="Mapping\ByCode\Impl\CustomizersImpl\ComposedIdCustomizer.cs" /> - <Compile Include="Mapping\ByCode\Impl\CustomizersImpl\DynamicComponentCustomizer.cs" /> - <Compile Include="Mapping\ByCode\Impl\CustomizersImpl\ManyToAnyCustomizer.cs" /> - <Compile Include="Mapping\ByCode\Impl\DynamicComponentMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ManyToAnyMapper.cs" /> - <Compile Include="Mapping\ByCode\PropertyGeneration.cs" /> - <Compile Include="Mapping\ByCode\PropertyToField.cs" /> - <Compile Include="Mapping\ByCode\SimpleModelInspector.cs" /> - <Compile Include="Mapping\ByCode\ExplicitlyDeclaredModel.cs" /> - <Compile Include="Mapping\ByCode\FakeModelExplicitDeclarationsHolder.cs" /> - <Compile Include="Mapping\ByCode\FetchKind.cs" /> - <Compile Include="Mapping\ByCode\ForClass.cs" /> - <Compile Include="Mapping\ByCode\IAccessorPropertyMapper.cs" /> - <Compile Include="Mapping\ByCode\IAnyMapper.cs" /> - <Compile Include="Mapping\ByCode\IBagPropertiesMapper.cs" /> - <Compile Include="Mapping\ByCode\ICacheMapper.cs" /> - <Compile Include="Mapping\ByCode\IClassMapper.cs" /> - <Compile Include="Mapping\ByCode\ICollectionElementRelation.cs" /> - <Compile Include="Mapping\ByCode\ICollectionIdMapper.cs" /> - <Compile Include="Mapping\ByCode\ICollectionPropertiesMapper.cs" /> - <Compile Include="Mapping\ByCode\ICollectionSqlsMapper.cs" /> - <Compile Include="Mapping\ByCode\IColumnMapper.cs" /> - <Compile Include="Mapping\ByCode\IColumnsMapper.cs" /> - <Compile Include="Mapping\ByCode\IComponentElementMapper.cs" /> - <Compile Include="Mapping\ByCode\IComponentMapKeyMapper.cs" /> - <Compile Include="Mapping\ByCode\IComponentMapper.cs" /> - <Compile Include="Mapping\ByCode\IComponentParentMapper.cs" /> - <Compile Include="Mapping\ByCode\IConformistHoldersProvider.cs" /> - <Compile Include="Mapping\ByCode\IDiscriminatorMapper.cs" /> - <Compile Include="Mapping\ByCode\IElementMapper.cs" /> - <Compile Include="Mapping\ByCode\IEntityAttributesMapper.cs" /> - <Compile Include="Mapping\ByCode\IEntityPropertyMapper.cs" /> - <Compile Include="Mapping\ByCode\IEntitySqlsMapper.cs" /> - <Compile Include="Mapping\ByCode\IFilterMapper.cs" /> - <Compile Include="Mapping\ByCode\IGenerator.cs" /> - <Compile Include="Mapping\ByCode\IGeneratorDef.cs" /> - <Compile Include="Mapping\ByCode\IGeneratorMapper.cs" /> - <Compile Include="Mapping\ByCode\IIdBagPropertiesMapper.cs" /> - <Compile Include="Mapping\ByCode\IIdMapper.cs" /> - <Compile Include="Mapping\ByCode\IJoinedSubclassMapper.cs" /> - <Compile Include="Mapping\ByCode\IJoinMapper.cs" /> - <Compile Include="Mapping\ByCode\IKeyMapper.cs" /> - <Compile Include="Mapping\ByCode\IListIndexMapper.cs" /> - <Compile Include="Mapping\ByCode\IListPropertiesMapper.cs" /> - <Compile Include="Mapping\ByCode\IManyToManyMapper.cs" /> - <Compile Include="Mapping\ByCode\IManyToOneMapper.cs" /> - <Compile Include="Mapping\ByCode\IMapKeyManyToManyMapper.cs" /> - <Compile Include="Mapping\ByCode\IMapKeyMapper.cs" /> - <Compile Include="Mapping\ByCode\IMapKeyRelation.cs" /> - <Compile Include="Mapping\ByCode\IMapPropertiesMapper.cs" /> - <Compile Include="Mapping\ByCode\IModelExplicitDeclarationsHolder.cs" /> - <Compile Include="Mapping\ByCode\IModelInspector.cs" /> - <Compile Include="Mapping\ByCode\Impl\AbstractBasePropertyContainerMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\AbstractPropertyContainerMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\AccessorPropertyMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\AnyMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\BagMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\CacheMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\CascadeConverter.cs" /> - <Compile Include="Mapping\ByCode\Impl\ClassMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\CollectionElementRelation.cs" /> - <Compile Include="Mapping\ByCode\Impl\CollectionIdMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ColumnMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ComponentElementMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ComponentMapKeyMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ComponentMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ComponentNestedElementMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\ComponentParentMapper.cs" /> - <Compile Include="Mapping\ByCode\Impl\CustomizersHolder.cs" /> - <Compile Include="Mapping\ByCode\Impl\CustomizersImpl\BagPropertiesCustomizer.cs" /> - <Compile Include="Mapping\ByCode\Impl\CustomizersImpl\ClassCustomizer.cs" /> - <Compile Include="Mapping\ByCode\Impl\Customizers... [truncated message content] |