HHH-8941 simplified the dialect function

This commit is contained in:
Brett Meyer 2014-05-23 17:31:02 -04:00
parent d7347c3f48
commit f4fe4108a9
1 changed files with 2 additions and 2 deletions

View File

@ -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;
/**
@ -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