Skip to content

Commit 9dfaf9f

Browse files
committed
NH-2996 - Add MySQL55Dialect
1 parent 24ee723 commit 9dfaf9f

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System.Data;
2+
3+
namespace NHibernate.Dialect
4+
{
5+
public class MySQL55Dialect : MySQL5Dialect
6+
{
7+
public MySQL55Dialect()
8+
{
9+
RegisterColumnType(DbType.Guid, "CHAR(36)");
10+
}
11+
}
12+
}

src/NHibernate/NHibernate.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
<Compile Include="Dialect\MsSql2012Dialect.cs" />
149149
<Compile Include="Dialect\MsSql7Dialect.cs" />
150150
<Compile Include="Dialect\MsSqlAzure2008Dialect.cs" />
151+
<Compile Include="Dialect\MySQL55Dialect.cs" />
151152
<Compile Include="Dialect\MySQLDialect.cs" />
152153
<Compile Include="Dialect\PostgreSQLDialect.cs" />
153154
<Compile Include="Dialect\Schema\PostgreSQLMetadata.cs" />

0 commit comments

Comments
 (0)