Top Description Interfaces Classes
[default module]

Package org.hibernate.dialect.function


A framework for defining database-specific SQL functions that are available via the dialect.

Interface Summary

Modifier and TypeInterface and Description
public interface
SQLFunction

Provides support routines for the HQL functions as used in the various SQL Dialects Provides an interface for supporting various HQL functions that are translated to SQL.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractAnsiTrimEmulationFunction

A org.hibernate.dialect.function.SQLFunction providing support for implementing TRIM functionality (as defined by both the ANSI SQL and JPA specs) in cases where the dialect may not support the full trim function itself.

public class
AnsiTrimEmulationFunction

A SQLFunction implementation that emulates the ANSI SQL trim function on dialects which do not support the full definition.

public class
AnsiTrimFunction

Defines support for rendering according to ANSI SQL TRIM function specification.

public class
AvgWithArgumentCastFunction

Some databases strictly return the type of the of the aggregation value for AVG which is problematic in the case of averaging integers because the decimals will be dropped.

public class
CastFunction

ANSI-SQL style cast(foo as type) where the type is a Hibernate type

public class
CharIndexFunction

Emulation of locate() on Sybase

public class
ClassicAvgFunction

Classic AVG sqlfunction that return types as it was done in Hibernate 3.1

public class
ClassicCountFunction

Classic COUNT sqlfunction that return types as it was done in Hibernate 3.1

public class
ClassicSumFunction

Classic SUM sqlfunction that return types as it was done in Hibernate 3.1

public class
ConditionalParenthesisFunction

Essentially the same as org.hibernate.dialect.function.StandardSQLFunction, except that here the parentheses are not included when no arguments are given.

public class
ConvertFunction

A Caché defintion of a convert function.

public class
DerbyConcatFunction

A specialized concat() function definition in which:

  1. we translate to use the concat operator ('||')
  2. wrap dynamic parameters in CASTs to VARCHAR
public class
NoArgSQLFunction

A function which takes no arguments

public class
NvlFunction

Emulation of coalesce() on Oracle, using multiple nvl() calls

public class
PositionSubstringFunction

Emulation of locate() on PostgreSQL

public class
public class
SQLFunctionTemplate

Represents HQL functions that can have different representations in different SQL dialects.

public class
public class
StandardJDBCEscapeFunction

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

public class
StandardSQLFunction

Provides a standard implementation that supports the majority of the HQL functions that are translated to SQL.

public class
TemplateRenderer

Delegate for handling function "templates".

public abstract class
TrimFunctionTemplate

Defines the basic template support for TRIM functions

public class
VarArgsSQLFunction

Support for slightly more general templating than StandardSQLFunction, with an unlimited number of arguments.