public class

StandardJDBCEscapeFunction

extends StandardSQLFunction
java.lang.Object
   ↳ org.hibernate.dialect.function.StandardSQLFunction
     ↳ org.hibernate.dialect.function.StandardJDBCEscapeFunction

Class Overview

Analogous to StandardSQLFunction except that standard JDBC escape sequences (i.e. {fn blah}) are used when rendering the SQL.

Summary

Public Constructors
StandardJDBCEscapeFunction(String name)
StandardJDBCEscapeFunction(String name, Type typeValue)
Public Methods
String render(Type argumentType, List args, SessionFactoryImplementor factory)
Render the function call as SQL fragment.
String toString()
[Expand]
Inherited Methods
From class org.hibernate.dialect.function.StandardSQLFunction
From class java.lang.Object
From interface org.hibernate.dialect.function.SQLFunction

Public Constructors

public StandardJDBCEscapeFunction (String name)

public StandardJDBCEscapeFunction (String name, Type typeValue)

Public Methods

public String render (Type argumentType, List args, SessionFactoryImplementor factory)

Render the function call as SQL fragment.

Note, the 'firstArgumentType' parameter should match the one passed into getReturnType(Type, Mapping)

Parameters
argumentType The type of the first argument
args The function arguments
factory The SessionFactory
Returns
  • The rendered function call

public String toString ()