Skip to content

Commit

Permalink
HHH-8941 simplified the dialect function
Browse files Browse the repository at this point in the history
  • Loading branch information
brmeyer committed May 23, 2014
1 parent d7347c3 commit f4fe410
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -23,7 +23,7 @@
*/
package org.hibernate.dialect;

import org.hibernate.dialect.function.SQLFunctionTemplate;
import org.hibernate.dialect.function.StandardSQLFunction;
import org.hibernate.type.StandardBasicTypes;

/**
Expand All @@ -35,7 +35,7 @@ public class FirebirdDialect extends InterbaseDialect {

public FirebirdDialect() {
super();
registerFunction( "replace", new SQLFunctionTemplate( StandardBasicTypes.STRING, "replace(?1, ?2, ?3)" ) );
registerFunction( "replace", new StandardSQLFunction( "replace", StandardBasicTypes.STRING ) );
}

@Override
Expand Down

0 comments on commit f4fe410

Please sign in to comment.