HHH-4705 - Derby does now in fact support the full ANSI SQL TRIM function

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18251 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2009-12-16 22:18:03 +00:00
parent 384d5859c2
commit d2f3d18b4a
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class DerbyDialect extends DB2Dialect {
public DerbyDialect() {
super();
registerFunction( "concat", new DerbyConcatFunction() );
registerFunction( "trim", new DerbyTrimFunctionEmulation() );
registerFunction( "trim", new SQLFunctionTemplate( Hibernate.STRING, "trim(?1 ?2 ?3 ?4)" ) );
determineDriverVersion();
}