org.hibernate.dialect.function
public class StandardJDBCEscapeFunction extends StandardSQLFunction
StandardSQLFunction
except that standard JDBC escape sequences (i.e. {fn blah}) are used when
rendering the SQL.Constructor and Description |
---|
StandardJDBCEscapeFunction(java.lang.String name) |
StandardJDBCEscapeFunction(java.lang.String name,
Type typeValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
render(Type argumentType,
java.util.List args,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
java.lang.String |
toString() |
getName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments
public StandardJDBCEscapeFunction(java.lang.String name)
public StandardJDBCEscapeFunction(java.lang.String name, Type typeValue)
public java.lang.String render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
StandardSQLFunction
SQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.Mapping)
render
in interface SQLFunction
render
in class StandardSQLFunction
argumentType
- The type of the first argumentargs
- The function argumentsfactory
- The SessionFactorypublic java.lang.String toString()
toString
in class StandardSQLFunction
Copyright © 2014. All Rights Reserved.