Skip to content

Commit e111661

Browse files
authored
Merge branch 'master' into JoinSubQueryHql
2 parents 9e0d2db + ff6e513 commit e111661

File tree

105 files changed

+1555
-203
lines changed

Some content is hidden

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

105 files changed

+1555
-203
lines changed

releasenotes.txt

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
Build 5.3.13
1+
Build 5.3.14
2+
=============================
3+
4+
Release notes - NHibernate - Version 5.3.14
5+
6+
3 issues were resolved in this release.
7+
8+
** Bug
9+
10+
#3169 InvalidOperationException: This transformer is not initialized by Cached Query
11+
#3164 Fetching a lazy loaded component regression
12+
13+
** Task
14+
15+
* #3183 Release 5.3.14
16+
17+
18+
Build 5.3.13
219
=============================
320

421
Release notes - NHibernate - Version 5.3.13

src/NHibernate.Test/Any/AnyTypeTest.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ protected override string[] Mappings
1515
get { return new string[] {"Any.Person.hbm.xml"}; }
1616
}
1717

18-
protected override string CacheConcurrencyStrategy
19-
{
20-
get { return null; }
21-
}
22-
2318
[Test]
2419
public void FlushProcessing()
2520
{

src/NHibernate.Test/Async/Any/AnyTypeTest.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ protected override string[] Mappings
2626
get { return new string[] {"Any.Person.hbm.xml"}; }
2727
}
2828

29-
protected override string CacheConcurrencyStrategy
30-
{
31-
get { return null; }
32-
}
33-
3429
[Test]
3530
public async Task FlushProcessingAsync()
3631
{

src/NHibernate.Test/Async/BulkManipulation/NativeSQLBulkOperationsWithCache.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ namespace NHibernate.Test.BulkManipulation
2525
[TestFixture]
2626
public class NativeSQLBulkOperationsWithCacheAsync : TestCase
2727
{
28+
protected override string CacheConcurrencyStrategy => "nonstrict-read-write";
29+
2830
protected override string MappingsAssembly => "NHibernate.Test";
2931

3032
protected override string[] Mappings => new[] { "BulkManipulation.Vehicle.hbm.xml" };

src/NHibernate.Test/Async/CacheTest/BatchableCacheFixture.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ public BatchableCacheFixtureAsync(BatchFetchStyle fetchStyle)
4444

4545
protected override string MappingsAssembly => "NHibernate.Test";
4646

47-
protected override string CacheConcurrencyStrategy => null;
48-
4947
protected override void Configure(Configuration configuration)
5048
{
5149
configuration.SetProperty(Environment.UseSecondLevelCache, "true");

src/NHibernate.Test/Async/CacheTest/BuildCacheFixture.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ public class BuildCacheFixtureAsync : TestCase
2929

3030
protected override string[] Mappings => new[] { "CacheTest.EntitiesInSameRegion.hbm.xml" };
3131

32-
// Disable the TestCase cache overrides.
33-
protected override string CacheConcurrencyStrategy => null;
34-
3532
protected override void Configure(Configuration configuration)
3633
{
3734
configuration.SetProperty(Environment.UseQueryCache, "true");

src/NHibernate.Test/Async/CacheTest/CacheFixture.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace NHibernate.Test.CacheTest
2222
public class CacheFixtureAsync: TestCase
2323
{
2424
[Test]
25-
public async Task TestSimpleCacheAsync()
25+
public async Task TestSimpleReadWriteCacheAsync()
2626
{
2727
await (DoTestCacheAsync(new HashtableCacheProvider()));
2828
}
@@ -57,7 +57,8 @@ protected CacheKey CreateCacheKey(string text)
5757

5858
Assert.IsNull(await (ccs.GetAsync(fooKey, longBefore, cancellationToken)));
5959
Assert.AreEqual("foo", await (ccs.GetAsync(fooKey, after, cancellationToken)));
60-
Assert.IsFalse(await (ccs.PutAsync(fooKey, "foo", before, null, null, false, cancellationToken)));
60+
Assert.IsFalse(await (ccs.PutAsync(fooKey, "foo", before, null, null, true, cancellationToken)));
61+
Assert.IsTrue(await (ccs.PutAsync(fooKey, "foo", before, null, null, false, cancellationToken)));
6162

6263
// update it;
6364

src/NHibernate.Test/Async/CacheTest/SerializingCacheFixture.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ public class SerializingCacheFixtureAsync : TestCase
2828

2929
protected override string MappingsAssembly => "NHibernate.Test";
3030

31-
protected override string CacheConcurrencyStrategy => null;
32-
3331
protected override void Configure(Configuration configuration)
3432
{
3533
configuration.SetProperty(Environment.UseSecondLevelCache, "true");

src/NHibernate.Test/Async/CompositeId/CompositeIdFixture.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ protected override string[] Mappings
3838
}
3939
}
4040

41-
protected override string CacheConcurrencyStrategy
42-
{
43-
get { return null; }
44-
}
45-
4641
protected override bool AppliesTo(Dialect.Dialect dialect)
4742
{
4843
// Order uses a scalar sub-select formula.

src/NHibernate.Test/Async/Criteria/SelectModeTest/SelectModeTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public class SelectModeTestAsync : TestCaseMappingByCode
3232
{
3333
private Guid _parentEntityComplexId;
3434

35+
protected override string CacheConcurrencyStrategy => "nonstrict-read-write";
36+
3537
[Test]
3638
public async Task SelectModeJoinOnlyAsync()
3739
{

0 commit comments

Comments
 (0)