File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ using NHibernate . Id ;
1
2
using NHibernate . SqlCommand ;
2
3
3
4
namespace NHibernate . Dialect
@@ -40,6 +41,16 @@ public override bool SupportsLimitOffset
40
41
/// <inheritdoc />
41
42
public override string QuerySequencesString => "select seq_name from iisequences" ;
42
43
44
+ /// <inheritdoc />
45
+ // 6.0 TODO: remove override for having default behavior when sequences are supported.
46
+ // It has been put for minimizing breaking changes due to supporting sequences in 5.1.
47
+ public override System . Type IdentityStyleIdentifierGeneratorClass => typeof ( TriggerIdentityGenerator ) ;
48
+
49
+ /// <inheritdoc />
50
+ // 6.0 TODO: remove override for having default behavior when sequences are supported.
51
+ // It has been put for minimizing breaking changes due to supporting sequences in 5.1.
52
+ public override System . Type NativeIdentifierGeneratorClass => typeof ( TableHiLoGenerator ) ;
53
+
43
54
/// <summary>
44
55
/// Attempts to add a <c>LIMIT</c> clause to the given SQL <c>SELECT</c>.
45
56
/// Expects any database-specific offset and limit adjustments to have already been performed (ex. UseMaxForLimit, OffsetStartsAtOne).
You can’t perform that action at this time.
0 commit comments