Skip to content

Commit dec3a01

Browse files
oskarbjulian-maughan
authored andcommitted
SequenceStyleGenerator.cs: Add note about possible bug in the Hibernate original.
1 parent a61f20d commit dec3a01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NHibernate/Id/Enhanced/SequenceStyleGenerator.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ public virtual void Configure(IType type, IDictionary<string, string> parms, Dia
100100

101101
if (dialect.SupportsSequences && !forceTableUse)
102102
{
103+
// TODO: (Added during porting) The following corresponds to what Hibernate does, but
104+
// TODO: if seems to me that we need to force table use also for the PooledLo optimizer.
105+
// TODO: Reported as HHH-6855.
103106
if (OptimizerFactory.Pool.Equals(optimizationStrategy) && !dialect.SupportsPooledSequences)
104107
{
105108
forceTableUse = true;

0 commit comments

Comments
 (0)