Skip to content

Commit 2716624

Browse files
committed
Persister.Entity namespace ported
- Tuplizers ready - Others generated ID strategy ready .... - many others H3.2.5 features ready to be active BREAKING CHANGE: - IInterceptor - ISession - IEntityPersister - IType (ToColumnNullness is used instead IsDatabaseNull to manage multi-columns type) - INullableUserType (unneeded) Possible Breaking change: - IBatcher - IPostInsertIdentityPersister SVN: trunk@3385
1 parent cc2b3cc commit 2716624

File tree

93 files changed

+5354
-5226
lines changed

Some content is hidden

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

93 files changed

+5354
-5226
lines changed

src/NHibernate.DomainModel/CustomPersister.cs

+277-204
Large diffs are not rendered by default.

src/NHibernate.DomainModel/NHSpecific/NullableInt32Type.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ public override object FromStringValue(string xml)
5050
return NullableInt32.Parse(xml);
5151
}
5252

53-
public override bool IsDatabaseNull(object value)
53+
public override bool[] ToColumnNullness(object value, Engine.IMapping mapping)
5454
{
55-
return value == null || NullableInt32.Default.Equals(value);
55+
return value == null || NullableInt32.Default.Equals(value) ? new bool[] { false } : new bool[] { true };
5656
}
5757
}
5858
}

src/NHibernate.Test/Generatedkeys/Identity/IdentityGeneratedKeysTest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected override void Configure(Configuration configuration)
2828
configuration.SetProperty(Environment.GenerateStatistics, "true");
2929
}
3030

31-
[Test, Ignore("Not supported yet.")]
31+
[Test]
3232
public void IdentityColumnGeneratedIds()
3333
{
3434
ISession s = OpenSession();

0 commit comments

Comments
 (0)