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,
Type typeValue)
Constructs a StandardJDBCEscapeFunction
|
Modifier and Type | Method and Description |
---|---|
String |
render(Type argumentType,
List args,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
toString() |
getName, getRenderedName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments
public String render(Type argumentType, List args, SessionFactoryImplementor factory)
SQLFunction
Note, the 'firstArgumentType' parameter should match the one passed into 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 © 2001-2021 Red Hat, Inc. All Rights Reserved.