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,
Type typeValue)
Constructs a StandardJDBCEscapeFunction
|
| 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, getRenderedName, getReturnType, getType, hasArguments, hasParenthesesIfNoArgumentspublic StandardJDBCEscapeFunction(java.lang.String name,
Type typeValue)
name - The function nametypeValue - The function return typepublic java.lang.String render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
SQLFunctionSQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping)render in interface SQLFunctionrender in class StandardSQLFunctionargumentType - The type of the first argumentargs - The function argumentsfactory - The SessionFactorypublic java.lang.String toString()
toString in class StandardSQLFunctionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.