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:
parent
384d5859c2
commit
d2f3d18b4a
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue