|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.dialect.SQLServerDialect.TrimFunction
A SQLServer-specific version of the ANSI-SQL trim function as SQLServer does not support such a thing.
| Constructor Summary | |
SQLServerDialect.TrimFunction()
|
|
| Method Summary | |
Type |
getReturnType(Type columnType,
Mapping mapping)
The function return type |
boolean |
hasArguments()
Does this function have any arguments? |
boolean |
hasParenthesesIfNoArguments()
If there are no arguments, are parens required? |
String |
render(List args,
SessionFactoryImplementor factory)
Render the function call as SQL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SQLServerDialect.TrimFunction()
| Method Detail |
public Type getReturnType(Type columnType,
Mapping mapping)
throws QueryException
SQLFunction
getReturnType in interface SQLFunctioncolumnType - the type of the first argument
QueryExceptionpublic boolean hasArguments()
SQLFunction
hasArguments in interface SQLFunctionpublic boolean hasParenthesesIfNoArguments()
SQLFunction
hasParenthesesIfNoArguments in interface SQLFunction
public String render(List args,
SessionFactoryImplementor factory)
throws QueryException
SQLFunction
render in interface SQLFunctionQueryException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||