Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » dialect » function » [javadoc | source]
org.hibernate.dialect.function
public class: AnsiTrimEmulationFunction [javadoc | source]
java.lang.Object
   org.hibernate.dialect.function.AnsiTrimEmulationFunction

All Implemented Interfaces:
    SQLFunction

A SQLFunction implementation that emulates the ANSI SQL trim function on dialects which do not support the full definition. However, this function definition does assume the availability of ltrim, rtrim, and replace functions which it uses in various combinations to emulate the desired ANSI trim() functionality.
Method from org.hibernate.dialect.function.AnsiTrimEmulationFunction Summary:
getReturnType,   hasArguments,   hasParenthesesIfNoArguments,   render
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.dialect.function.AnsiTrimEmulationFunction Detail:
 public Type getReturnType(Type columnType,
    Mapping mapping) throws QueryException 
 public boolean hasArguments() 
 public boolean hasParenthesesIfNoArguments() 
 public String render(List args,
    SessionFactoryImplementor factory) throws QueryException