Skip to content

Commit ef63f4c

Browse files
committed
Fixed many-to-one optimistic-lock xml output
1 parent 26f7b11 commit ef63f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FluentNHibernate/MappingModel/Output/XmlManyToOneWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public override void ProcessManyToOne(ManyToOneMapping mapping)
6767
element.WithAtt("entity-name", mapping.EntityName);
6868

6969
if (mapping.HasValue(x => x.OptimisticLock))
70-
element.WithAtt("optimstic-lock", mapping.OptimisticLock);
70+
element.WithAtt("optimistic-lock", mapping.OptimisticLock);
7171
}
7272

7373
public override void Visit(ColumnMapping columnMapping)

0 commit comments

Comments
 (0)