Skip to content

Commit 795854b

Browse files
committed
Register replace function
1 parent 383bac3 commit 795854b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Dialect/DB2Dialect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public DB2Dialect()
131131
RegisterFunction("lower", new StandardSQLFunction("lower"));
132132
RegisterFunction("length", new StandardSQLFunction("length", NHibernateUtil.Int32));
133133
RegisterFunction("ltrim", new StandardSQLFunction("ltrim"));
134-
134+
RegisterFunction("replace", new StandardSQLFunction("replace", NHibernateUtil.String));
135135
RegisterFunction("truncate", new StandardSQLFunction("truncate"));
136136

137137
RegisterFunction("mod", new ModulusFunction(true, false));

0 commit comments

Comments
 (0)