Top Description Constructors Methods
org.hibernate.dialect.function

public Class StandardJDBCEscapeFunction

extends StandardSQLFunction
Class Inheritance
Imports
java.util.List, org.hibernate.type.Type, org.hibernate.engine.SessionFactoryImplementor

Analogous to org.hibernate.dialect.function.StandardSQLFunction except that standard JDBC escape sequences (i.e. {fn blah}) are used when rendering the SQL.
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public String
render(Type
The type of the first argument
argumentType
,
List<E>
The function arguments
args
,
SessionFactoryImplementor
The SessionFactory
factory
)

Overrides org.hibernate.dialect.function.StandardSQLFunction.render.

Implements org.hibernate.dialect.function.SQLFunction.render.

Render the function call as SQL fragment.
public String
toString()

Overrides org.hibernate.dialect.function.StandardSQLFunction.toString.

Returns a string representation of the object.
Inherited from org.hibernate.dialect.function.StandardSQLFunction:
getNamegetReturnTypegetTypehasArgumentshasParenthesesIfNoArguments

Constructor Detail

StandardJDBCEscapeFunctionback to summary
public StandardJDBCEscapeFunction(String name)
StandardJDBCEscapeFunctionback to summary
public StandardJDBCEscapeFunction(String name, Type typeValue)

Method Detail

renderback to summary
public String render(Type argumentType, List<E> args, SessionFactoryImplementor factory)

Overrides org.hibernate.dialect.function.StandardSQLFunction.render.

Implements org.hibernate.dialect.function.SQLFunction.render.

Doc from org.hibernate.dialect.function.StandardSQLFunction.render.

Render the function call as SQL fragment.

Note, the 'firstArgumentType' parameter should match the one passed into getReturnType

Parameters
argumentType:Type

Doc from org.hibernate.dialect.function.SQLFunction.render.

The type of the first argument

args:List<E>

Doc from org.hibernate.dialect.function.SQLFunction.render.

The function arguments

factory:SessionFactoryImplementor

Doc from org.hibernate.dialect.function.SQLFunction.render.

The SessionFactory

Returns:String

Doc from org.hibernate.dialect.function.SQLFunction.render.

The rendered function call

toStringback to summary
public String toString()

Overrides org.hibernate.dialect.function.StandardSQLFunction.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.