Package org.hibernate.dialect.function
Class StandardJDBCEscapeFunction
- java.lang.Object
-
- org.hibernate.dialect.function.StandardSQLFunction
-
- org.hibernate.dialect.function.StandardJDBCEscapeFunction
-
- All Implemented Interfaces:
SQLFunction
public class StandardJDBCEscapeFunction extends StandardSQLFunction
Analogous toStandardSQLFunctionexcept that standard JDBC escape sequences (i.e. {fn blah}) are used when rendering the SQL.
-
-
Constructor Summary
Constructors Constructor Description StandardJDBCEscapeFunction(String name, Type typeValue)Constructs a StandardJDBCEscapeFunction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringrender(Type argumentType, List args, SessionFactoryImplementor factory)Render the function call as SQL fragment.StringtoString()-
Methods inherited from class org.hibernate.dialect.function.StandardSQLFunction
getName, getRenderedName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments
-
-
-
-
Method Detail
-
render
public String render(Type argumentType, List args, SessionFactoryImplementor factory)
Description copied from interface:SQLFunctionRender the function call as SQL fragment. Note, the 'firstArgumentType' parameter should match the one passed intoSQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping)- Specified by:
renderin interfaceSQLFunction- Overrides:
renderin classStandardSQLFunction- Parameters:
argumentType- The type of the first argumentargs- The function argumentsfactory- The SessionFactory- Returns:
- The rendered function call
-
toString
public String toString()
- Overrides:
toStringin classStandardSQLFunction
-
-