Skip to content

Commit c4c3b96

Browse files
authored
Merge branch 'master' into gamblen-Ingres9Sequences
2 parents 1ad67c2 + a4cbae9 commit c4c3b96

File tree

537 files changed

+14190
-26743
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

537 files changed

+14190
-26743
lines changed

.gitattributes

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
*.msbuild text
1313
*.md text
1414

15-
*.sln text eol=crlf merge=union
16-
*.csproj text merge=union
17-
*.vbproj text merge=union
18-
*.fsproj text merge=union
19-
*.dbproj text merge=union
15+
*.sln text eol=crlf
16+
*.csproj text eol=crlf
17+
*.vbproj text eol=crlf
18+
*.fsproj text eol=crlf
19+
*.dbproj text eol=crlf
2020

2121
# Resharper DotSettings files are in Unix format
2222
*.DotSettings text eol=lf

Contributor Guide.html

Lines changed: 0 additions & 164 deletions
This file was deleted.

lgpl.txt renamed to LICENSE.txt

File renamed without changes.

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ NuGet (<http://nuget.org/List/Packages/NHibernate>).
1919

2020
Alternatively binaries are available from SourceForge at <http://sourceforge.net/projects/nhibernate>.
2121

22-
You are encouraged to review the release notes (releasenotes.txt), particularly when upgrading to a
22+
You are encouraged to review the release notes ([releasenotes.txt](releasenotes.txt)), particularly when upgrading to a
2323
later version. The release notes will generally document any breaking changes.
2424

2525
Community Forums
@@ -46,9 +46,13 @@ can be found [here][C2].
4646
Licenses
4747
--------
4848

49-
This software is distributed under the terms of the Free Software Foundation [Lesser GNU Public License (LGPL), version 2.1][D1] (see lgpl.txt).
49+
- This software is distributed under the terms of the Free Software Foundation [Lesser GNU Public License (LGPL), version 2.1][D1] (see [LICENSE.txt][D2]).
50+
- The documentation for this software is distributed under the terms of the Free Software Foundation [GNU Free Documentation License (GNU FDL), version 1.1][D3] (see [doc/LICENSE.txt][D4]).
5051

5152
[D1]: http://www.gnu.org/licenses/lgpl-2.1-standalone.html
53+
[D2]: LICENSE.txt
54+
[D3]: http://www.gnu.org/licenses/old-licenses/fdl-1.1-standalone.html
55+
[D4]: doc/LICENSE.txt
5256

5357
Credits
5458
-------

ShowBuildMenu.bat

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@ echo F. Add a test configuration for PostgreSQL.
5050
echo G. Add a test configuration for Oracle.
5151
echo H. Add a test configuration for SQL Server Compact (x86).
5252
echo I. Add a test configuration for SQL Server Compact (x64).
53+
echo J. Add a test configuration for MySql.
5354
echo.
5455
echo X. Exit to main menu.
5556
echo.
5657

57-
%BUILDTOOL% prompt ABCDEFGHIX
58-
if errorlevel 9 goto main-menu
58+
%BUILDTOOL% prompt ABCDEFGHIJX
59+
if errorlevel 10 goto main-menu
60+
if errorlevel 9 goto test-setup-mysql
5961
if errorlevel 8 goto test-setup-sqlservercex64
6062
if errorlevel 7 goto test-setup-sqlservercex86
6163
if errorlevel 6 goto test-setup-oracle
@@ -91,14 +93,12 @@ goto test-setup-generic
9193
set CONFIG_NAME=FireBird
9294
set PLATFORM=x86
9395
set LIB_FILES=lib\teamcity\firebird\*.dll
94-
set LIB_FILES2=lib\teamcity\firebird\x86\*
9596
goto test-setup-generic
9697

9798
:test-setup-firebirdx64
9899
set CONFIG_NAME=FireBird
99100
set PLATFORM=x64
100101
set LIB_FILES=lib\teamcity\firebird\*.dll
101-
set LIB_FILES2=lib\teamcity\firebird\x64\*
102102
goto test-setup-generic
103103

104104
:test-setup-sqlitex86
@@ -122,6 +122,13 @@ set LIB_FILES=lib\teamcity\postgresql\*.dll
122122
set LIB_FILES2=
123123
goto test-setup-generic
124124

125+
:test-setup-mysql
126+
set CONFIG_NAME=MySql
127+
set PLATFORM=AnyCPU
128+
set LIB_FILES=lib\teamcity\mysql\*.dll
129+
set LIB_FILES2=
130+
goto test-setup-generic
131+
125132
:test-setup-oracle
126133
set CONFIG_NAME=Oracle
127134
set PLATFORM=x86
@@ -130,6 +137,7 @@ set LIB_FILES2=
130137
goto test-setup-generic
131138

132139
:test-setup-generic
140+
set CFGNAME=
133141
set /p CFGNAME=Enter a name for your test configuration or press enter to use default name:
134142
if /I "%CFGNAME%"=="" set CFGNAME=%CONFIG_NAME%-%PLATFORM%
135143
mkdir "%AVAILABLE_CONFIGURATIONS%\%CFGNAME%"

default.build

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@
7878
<foreach item="String" delim=" " property="framework" in="${supported.frameworks}">
7979
<call target="set-${framework}-framework-configuration" />
8080
<call target="build" />
81-
<!-- Copy and rename the license -->
82-
<copy file="lgpl.txt" tofile="${bin.dir}/NHibernate.license.txt" />
8381
</foreach>
8482

8583
<!-- Reset the current framework to the saved value -->
@@ -124,10 +122,9 @@
124122
<include name="build-common/**" />
125123

126124
<include name="*.build" />
127-
<include name="gfdl.txt" />
128-
<include name="lgpl.txt" />
125+
<include name="LICENSE.txt" />
129126
<include name="releasenotes.txt" />
130-
<include name="readme.html" />
127+
<include name="README.md" />
131128

132129
<!-- exclude ReSharper stuff -->
133130
<exclude name="**/_ReSharper*/**" />
@@ -170,8 +167,7 @@
170167
<property name="bin-pack.tests" value="${bin-pack.tmpdir}/Tests" />
171168

172169
<copy file="releasenotes.txt" todir="${bin-pack.tmpdir}"/>
173-
<copy file="lgpl.txt" todir="${bin-pack.tmpdir}/NHibernate.license.txt"/>
174-
<copy file="gfdl.txt" todir="${bin-pack.tmpdir}"/>
170+
<copy file="LICENSE.txt" todir="${bin-pack.tmpdir}"/>
175171
<copy file="HowInstall.txt" todir="${bin-pack.tmpdir}"/>
176172

177173
<exec program="CScript.exe"
File renamed without changes.

doc/documentation.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
<target name="manual" depends="init">
2828
<property name="lang" value="en" />
29+
<copy file="LICENSE.txt" todir="${doc.out.dir}"/>
2930
<nant target="build" buildfile="reference/reference.build">
3031
<properties>
3132
<property name="lang" value="${lang}" />

doc/reference/modules/architecture.xml

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -239,44 +239,54 @@
239239
</para>
240240

241241
<itemizedlist>
242+
<listitem>
243+
<para>
244+
<literal>NHibernate.Context.AsyncLocalSessionContext</literal> - current sessions are tracked
245+
by current asynchronous flow. You are responsible to bind and unbind an
246+
<literal>ISession</literal> instance with static methods of class
247+
<literal>CurrentSessionContext</literal>. Binding operations from inner flows will not be
248+
propagated to outer or siblings flows.
249+
</para>
250+
</listitem>
242251
<listitem>
243252
<para>
244253
<literal>NHibernate.Context.CallSessionContext</literal> - current sessions are tracked
245-
by <literal>CallContext</literal>. You are responsible to bind and unbind an <literal>
246-
ISession</literal> instance with static methods of class <literal>CurrentSessionContext
247-
</literal>.
254+
by <literal>CallContext</literal>. You are responsible to bind and unbind an
255+
<literal>ISession</literal> instance with static methods of class
256+
<literal>CurrentSessionContext</literal>.
248257
</para>
249258
</listitem>
250259
<listitem>
251260
<para>
252261
<literal>NHibernate.Context.ThreadStaticSessionContext</literal> - current session is
253-
stored in a thread-static variable. This context only supports one session factory.
262+
stored in a thread-static variable. This context supports multiple session factory only
263+
since NHibernate v5.
254264
You are responsible to bind and unbind an <literal>ISession</literal> instance with
255265
static methods of class <literal>CurrentSessionContext</literal>.
256266
</para>
257267
</listitem>
258268
<listitem>
259269
<para>
260-
<literal>NHibernate.Context.WebSessionContext</literal> -
261-
stores the current session in <literal>HttpContext</literal>.
262-
You are responsible to bind and unbind an <literal>ISession</literal>
263-
instance with static methods of class <literal>CurrentSessionContext</literal>.
270+
<literal>NHibernate.Context.WebSessionContext</literal> -
271+
stores the current session in <literal>HttpContext</literal>.
272+
You are responsible to bind and unbind an <literal>ISession</literal>
273+
instance with static methods of class <literal>CurrentSessionContext</literal>.
264274
</para>
265275
</listitem>
266276
<listitem>
267277
<para>
268278
<literal>NHibernate.Context.WcfOperationSessionContext</literal> - current sessions are tracked
269279
by WCF <literal>OperationContext</literal>. You need to register the <literal>WcfStateExtension</literal>
270-
extension in WCF. You are responsible to bind and unbind an <literal>ISession
271-
</literal> instance with static methods of class <literal>CurrentSessionContext</literal>.
280+
extension in WCF. You are responsible to bind and unbind an <literal>ISession</literal>
281+
instance with static methods of class <literal>CurrentSessionContext</literal>.
272282
</para>
273283
</listitem>
274284
<listitem>
275285
<para>
276286
<literal>NHibernate.Context.ManagedWebSessionContext</literal> - current
277-
sessions are tracked by <literal>HttpContext</literal>. Removed in NHibernate 4.0
278-
- <literal>NHibernate.Context.WebSessionContext</literal> should be used instead.
279-
You are responsible to bind and unbind an <literal>ISession</literal> instance with static methods
287+
sessions are tracked by <literal>HttpContext</literal>. Removed in NHibernate 4.0
288+
- <literal>NHibernate.Context.WebSessionContext</literal> should be used instead.
289+
You are responsible to bind and unbind an <literal>ISession</literal> instance with static methods
280290
on this class, it never opens, flushes, or closes an <literal>ISession</literal> itself.
281291
</para>
282292
</listitem>
@@ -287,7 +297,8 @@
287297
defines which <literal>NHibernate.Context.ICurrentSessionContext</literal> implementation
288298
should be used. Typically, the value of this parameter would just name the implementation
289299
class to use (including the assembly name); for the out-of-the-box implementations, however,
290-
there are corresponding short names: "call", "thread_static", "web" and "wcf_operation",
300+
there are corresponding short names: <literal>async_local</literal>, <literal>call</literal>,
301+
<literal>thread_static</literal>, <literal>web</literal> and <literal>wcf_operation</literal>,
291302
respectively.
292303
</para>
293304
</sect1>

doc/reference/modules/basic_mapping.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3114,6 +3114,11 @@
31143114
...
31153115
</class>]]></programlisting>
31163116

3117+
<para>
3118+
Quoting column identifiers is required if a table contains two columns differing only by case.
3119+
Ensure you use consistent casing when quoting identifiers.
3120+
</para>
3121+
31173122
</sect1>
31183123

31193124
<sect1 id="mapping-modularfiles">

0 commit comments

Comments
 (0)