| Home >> All >> org >> hibernate >> dialect >> [ function Javadoc ] |
org.hibernate.dialect.function: Javadoc index of package org.hibernate.dialect.function.
Package Samples:
org.hibernate.dialect.function
Classes:
SQLFunctionTemplate: Represents HQL functions that can have different representations in different SQL dialects. E.g. in HQL we can define function concat(?1, ?2) to concatenate two strings p1 and p2. Target SQL function will be dialect-specific, e.g. (?1 || ?2) for Oracle, concat(?1, ?2) for MySql, (?1 + ?2) for MS SQL. Each dialect will define a template as a string (exactly like above) marking function parameters with '?' followed by parameter's index (first index is 1).
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. The Dialect and its sub-classes use this interface to provide details required for processing of the function.
StandardSQLFunction: Provides a standard implementation that supports the majority of the HQL functions that are translated to SQL. The Dialect and its sub-classes use this class to provide details required for processing of the associated function.
VarArgsSQLFunction: Support for slightly more general templating than StandardSQLFunction , with an unlimited number of arguments.
NvlFunction: Emulation of coalesce() on Oracle, using multiple nvl() calls
CastFunction: ANSI-SQL style cast(foo as type) where the type is a Hibernate type
PositionSubstringFunction: Emulation of locate() on PostgreSQL
CharIndexFunction: Emulation of locate() on Sybase
NoArgSQLFunction: A function which takes no arguments
| Home | Contact Us | Privacy Policy | Terms of Service |