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(String name) |
StandardJDBCEscapeFunction(String name,
Type typeValue) |
Modifier and Type | Method and Description |
---|---|
String |
render(Type argumentType,
List args,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
toString() |
getName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments
public StandardJDBCEscapeFunction(String name)
public String render(Type argumentType, List args, SessionFactoryImplementor factory)
StandardSQLFunction
SQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping)
render
in interface SQLFunction
render
in class StandardSQLFunction
argumentType
- The type of the first argumentargs
- The function argumentsfactory
- The SessionFactorypublic String toString()
toString
in class StandardSQLFunction
Copyright © 2018 JBoss by Red Hat. All rights reserved.