Skip to content

Commit c57ec8f

Browse files
author
Davy Brion
committed
applied patch from Jakob Andersen for NH-1917
SVN: trunk@4685
1 parent 4691a43 commit c57ec8f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/NHibernate/Dialect/MySQL5Dialect.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,15 @@ public override string SelectGUIDString
5757
return "select uuid()";
5858
}
5959
}
60+
61+
public override SqlString AppendIdentitySelectToInsert (NHibernate.SqlCommand.SqlString insertString)
62+
{
63+
return insertString.Append(";" + IdentitySelectString);
64+
}
65+
66+
public override bool SupportsInsertSelectIdentity
67+
{
68+
get { return true; }
69+
}
6070
}
6171
}

0 commit comments

Comments
 (0)