Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 23b73ee

Browse filesBrowse files
Update documentation to 5.5 (#65)
And update some old http links.
1 parent 1163b2c commit 23b73ee
Copy full SHA for 23b73ee

File tree

83 files changed

+26247
-117
lines changed
Filter options

Some content is hidden

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

83 files changed

+26247
-117
lines changed

‎_posts/2022-11-20-nhibernate-5-4-released.md

Copy file name to clipboardExpand all lines: _posts/2022-11-20-nhibernate-5-4-released.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
33
title: "NHibernate 5.4 Released"
4-
date: 2020-11-20T17:20:00Z
4+
date: 2022-11-20T17:20:00Z
55
author: fredericDelaporte
66
gravatar: 5eaae4002cdfc206faf907aaf38d8a09
77
tags:
+26Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: post
3+
title: "NHibernate 5.5 Released"
4+
date: 2023-12-24T17:30:00Z
5+
author: fredericDelaporte
6+
gravatar: 5eaae4002cdfc206faf907aaf38d8a09
7+
tags:
8+
- Release Notes
9+
---
10+
NHibernate 5.5.0 is now released.
11+
12+
For a list of resolved issues & pull requests, see the [milestone](https://github.com/nhibernate/nhibernate-core/milestone/52?closed=1) or [the release notes](https://github.com/nhibernate/nhibernate-core/blob/5.5.0/releasenotes.txt).
13+
14+
Binaries are available on NuGet and SourceForge:
15+
https://sourceforge.net/projects/nhibernate/files/NHibernate/5.5.0/
16+
https://www.nuget.org/packages/NHibernate/5.5.0
17+
18+
##### Possible Breaking Changes #####
19+
* `Object.Finalize` is no more proxified when the entity base class has a destructor. See #3205.
20+
* Default not-found behavior now works correctly on many-to-many Criteria fetch. It now throws ObjectNotFoundException exception for not found records. See #2687.
21+
22+
62 issues were resolved in this release.
23+
24+
--
25+
26+
Huge thanks to everyone involved in this release.

‎doc/index.html

Copy file name to clipboardExpand all lines: doc/index.html
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h2>Current Reference</h2>
66
<ul>
77
<li>
8-
<a href="/doc/nhibernate-reference/index.html">The NHibernate Reference, v5.4</a>
8+
<a href="/doc/nhibernate-reference/index.html">The NHibernate Reference, v5.5</a>
99
(<a href="/doc/nhibernate-reference/index.html">HTML</a>,
1010
<a href="/doc/nh/en/index.html">single page HTML</a>,
1111
<a href="/doc/nh/en/nhibernate_reference.pdf">PDF</a>,
@@ -17,6 +17,13 @@ <h2>Current Reference</h2>
1717

1818
<h2>Previous Reference</h2>
1919
<ul>
20+
<li>
21+
<a href="/previous-doc/v5.4/ref/index.html">The NHibernate Reference, v5.4</a>
22+
(<a href="/previous-doc/v5.4/ref/index.html">HTML</a>,
23+
<a href="/previous-doc/v5.4/single/index.html">single page HTML</a>,
24+
<a href="/previous-doc/v5.4/single/nhibernate_reference.pdf">PDF</a>,
25+
<a href="/previous-doc/v5.4/single/nhibernate.reference.chm">CHM</a>)
26+
</li>
2027
<li>
2128
<a href="/previous-doc/v5.3/ref/index.html">The NHibernate Reference, v5.3</a>
2229
(<a href="/previous-doc/v5.3/ref/index.html">HTML</a>,

‎doc/nh/en/index.html

Copy file name to clipboardExpand all lines: doc/nh/en/index.html
+47-24Lines changed: 47 additions & 24 deletions
Large diffs are not rendered by default.

‎doc/nh/en/nhibernate.reference.chm

Copy file name to clipboard
536 Bytes
Binary file not shown.

‎doc/nh/en/nhibernate_reference.pdf

Copy file name to clipboard
289 Bytes
Binary file not shown.

‎doc/nhibernate-reference/architecture.html

Copy file name to clipboardExpand all lines: doc/nhibernate-reference/architecture.html
+11-2Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66
<meta charset="utf-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1" />
88
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9-
<title>Chapter&nbsp;2.&nbsp;Architecture</title><link rel="stylesheet" href="../shared/css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="up" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="previous" href="quickstart.html" title="Chapter&nbsp;1.&nbsp;Quick-start with IIS and Microsoft SQL Server"><link rel="next" href="session-configuration.html" title="Chapter&nbsp;3.&nbsp;ISessionFactory Configuration"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;2.&nbsp;Architecture</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="quickstart.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="session-configuration.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="architecture"></a>Chapter&nbsp;2.&nbsp;Architecture</h2></div></div><div></div></div>{% include google_adsense.html %}<div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="architecture-overview"></a>2.1.&nbsp;Overview</h2></div></div><div></div></div><p>
9+
<title>Chapter&nbsp;2.&nbsp;Architecture</title><link rel="stylesheet" href="../shared/css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="up" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="previous" href="quickstart.html" title="Chapter&nbsp;1.&nbsp;Quick-start with IIS and Microsoft SQL Server"><link rel="next" href="session-configuration.html" title="Chapter&nbsp;3.&nbsp;ISessionFactory Configuration">
10+
</head>
11+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
12+
<div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;2.&nbsp;Architecture</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="quickstart.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="session-configuration.html">Next</a></td></tr></table><hr></div>
13+
<div class="chapter" lang="en">
14+
<div class="titlepage"><div><div><h2 class="title"><a name="architecture"></a>Chapter&nbsp;2.&nbsp;Architecture</h2></div></div><div></div></div>
15+
{% include google_adsense.html %}
16+
<div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="architecture-overview"></a>2.1.&nbsp;Overview</h2></div></div><div></div></div><p>
1017
A (very) high-level view of the NHibernate architecture:
1118
</p><div class="mediaobject" align="center"><img src="../shared/images/overview.png" align="middle"></div><p>
1219
This diagram shows NHibernate using the database and configuration data to
@@ -151,4 +158,6 @@
151158
there are corresponding short names: <tt class="literal">async_local</tt>, <tt class="literal">call</tt>,
152159
<tt class="literal">thread_static</tt>, <tt class="literal">web</tt> and <tt class="literal">wcf_operation</tt>,
153160
respectively.
154-
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="quickstart.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="session-configuration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;1.&nbsp;Quick-start with IIS and Microsoft SQL Server&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;3.&nbsp;ISessionFactory Configuration</td></tr></table></div>{% include google_analytics.html %}</body></html>
161+
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="quickstart.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="session-configuration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;1.&nbsp;Quick-start with IIS and Microsoft SQL Server&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;3.&nbsp;ISessionFactory Configuration</td></tr></table></div>
162+
{% include google_analytics.html %}
163+
</body></html>

‎doc/nhibernate-reference/associations.html

Copy file name to clipboardExpand all lines: doc/nhibernate-reference/associations.html
+11-2Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66
<meta charset="utf-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1" />
88
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9-
<title>Chapter&nbsp;7.&nbsp;Association Mappings</title><link rel="stylesheet" href="../shared/css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="up" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="previous" href="collections.html" title="Chapter&nbsp;6.&nbsp;Collection Mapping"><link rel="next" href="components.html" title="Chapter&nbsp;8.&nbsp;Component Mapping"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;7.&nbsp;Association Mappings</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="collections.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="components.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="associations"></a>Chapter&nbsp;7.&nbsp;Association Mappings</h2></div></div><div></div></div>{% include google_adsense.html %}<div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="associations-intro"></a>7.1.&nbsp;Introduction</h2></div></div><div></div></div><p>
9+
<title>Chapter&nbsp;7.&nbsp;Association Mappings</title><link rel="stylesheet" href="../shared/css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="up" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="previous" href="collections.html" title="Chapter&nbsp;6.&nbsp;Collection Mapping"><link rel="next" href="components.html" title="Chapter&nbsp;8.&nbsp;Component Mapping">
10+
</head>
11+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
12+
<div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;7.&nbsp;Association Mappings</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="collections.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="components.html">Next</a></td></tr></table><hr></div>
13+
<div class="chapter" lang="en">
14+
<div class="titlepage"><div><div><h2 class="title"><a name="associations"></a>Chapter&nbsp;7.&nbsp;Association Mappings</h2></div></div><div></div></div>
15+
{% include google_adsense.html %}
16+
<div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="associations-intro"></a>7.1.&nbsp;Introduction</h2></div></div><div></div></div><p>
1017
Association mappings are often the most difficult thing to implement correctly. In this section
1118
we examine some canonical cases one by one, starting with unidirectional mappings and then
1219
bidirectional cases. We will use <tt class="literal">Person</tt> and <tt class="literal">Address</tt> in all
@@ -428,4 +435,6 @@
428435
&lt;/join&gt;</pre><p>
429436
This functionality allows a degree of creativity and flexibility, but it is more practical to
430437
handle these kinds of cases by using queries.
431-
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="collections.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="components.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;6.&nbsp;Collection Mapping&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;8.&nbsp;Component Mapping</td></tr></table></div>{% include google_analytics.html %}</body></html>
438+
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="collections.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="components.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;6.&nbsp;Collection Mapping&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;8.&nbsp;Component Mapping</td></tr></table></div>
439+
{% include google_analytics.html %}
440+
</body></html>

‎doc/nhibernate-reference/batch.html

Copy file name to clipboardExpand all lines: doc/nhibernate-reference/batch.html
+11-2Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66
<meta charset="utf-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1" />
88
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9-
<title>Chapter&nbsp;14.&nbsp;Batch processing</title><link rel="stylesheet" href="../shared/css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="up" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="previous" href="events.html" title="Chapter&nbsp;13.&nbsp;Interceptors and events"><link rel="next" href="queryhql.html" title="Chapter&nbsp;15.&nbsp;HQL: The Hibernate Query Language"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;14.&nbsp;Batch processing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="events.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="queryhql.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="batch"></a>Chapter&nbsp;14.&nbsp;Batch processing</h2></div></div><div></div></div>{% include google_adsense.html %}<p>
9+
<title>Chapter&nbsp;14.&nbsp;Batch processing</title><link rel="stylesheet" href="../shared/css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="up" href="index.html" title="NHibernate - Relational Persistence for Idiomatic .NET"><link rel="previous" href="events.html" title="Chapter&nbsp;13.&nbsp;Interceptors and events"><link rel="next" href="queryhql.html" title="Chapter&nbsp;15.&nbsp;HQL: The Hibernate Query Language">
10+
</head>
11+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
12+
<div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;14.&nbsp;Batch processing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="events.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="queryhql.html">Next</a></td></tr></table><hr></div>
13+
<div class="chapter" lang="en">
14+
<div class="titlepage"><div><div><h2 class="title"><a name="batch"></a>Chapter&nbsp;14.&nbsp;Batch processing</h2></div></div><div></div></div>
15+
{% include google_adsense.html %}
16+
<p>
1017
A naive approach to inserting 100 000 rows in the database using NHibernate might
1118
look like this:
1219
</p><pre class="programlisting">using (ISession session = sessionFactory.OpenSession())
@@ -228,4 +235,6 @@
228235
int createdEntities = s.CreateQuery(hqlInsert)
229236
.ExecuteUpdate();
230237
tx.Commit();
231-
}</pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="events.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="queryhql.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;13.&nbsp;Interceptors and events&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;15.&nbsp;HQL: The Hibernate Query Language</td></tr></table></div>{% include google_analytics.html %}</body></html>
238+
}</pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="events.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="queryhql.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;13.&nbsp;Interceptors and events&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;15.&nbsp;HQL: The Hibernate Query Language</td></tr></table></div>
239+
{% include google_analytics.html %}
240+
</body></html>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.