Skip to content

Commit 9cfd34c

Browse files
author
Sergey Koshcheyev
committed
Updates to H2.1: Collection persisters, Binder, AbstractEntityPersister
Renamed IClassPersister.CurrentVersion to GetCurrentVersion to follow conventions better Meta attributes should now work (not tested yet) Added GetDropTableString to Dialect to remove duplication between Table and TableGenerator, and to allow for dialect-specific customizations Also ported SupportsIfExistsBefore/AfterTableName (the H2.1 less generic way to add "if exists" clauses) Other minor changes - removing empty XML comments, reformatting, etc. SVN: trunk@1656
1 parent 00f4c95 commit 9cfd34c

Some content is hidden

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

42 files changed

+2047
-2680
lines changed

src/NHibernate.DomainModel/CustomPersister.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public object[] GetCurrentPersistentState( object id, object version, ISessionIm
353353
/// <param name="id"></param>
354354
/// <param name="session"></param>
355355
/// <returns></returns>
356-
public object CurrentVersion( object id, ISessionImplementor session )
356+
public object GetCurrentVersion( object id, ISessionImplementor session )
357357
{
358358
return this;
359359
}

src/NHibernate.Test/NHSpecificTest/KeyFixture.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ public bool HasCache
4343
}
4444
}
4545

46-
public object CurrentVersion(object id, ISessionImplementor session)
46+
public object GetCurrentVersion(object id, ISessionImplementor session)
4747
{
48-
// TODO: Add TestingClassPersister.CurrentVersion implementation
48+
// TODO: Add TestingClassPersister.GetCurrentVersion implementation
4949
return null;
5050
}
5151

0 commit comments

Comments
 (0)