here is the code could any onre please help me with the alternative for this in the latest version for the registerFunction method
public class DB2ExtendedDialect extends DB2Dialect {
public DB2ExtendedDialect() {
super();
registerFunction(
“regexp_like”, new SQLFunctionTemplate(StandardBasicTypes.BOOLEAN,
“( regexp_like(?1, ?2) = 1 )”)
);
}
}