org.hibernate.dialect.function
Class ClassicCountFunction
java.lang.Object
org.hibernate.dialect.function.StandardSQLFunction
org.hibernate.dialect.function.ClassicCountFunction
- All Implemented Interfaces:
- SQLFunction
- public class ClassicCountFunction
- extends StandardSQLFunction
Classic COUNT sqlfunction that return types as it was done in Hibernate 3.1
- Author:
- Max Rydahl Andersen
Method Summary |
Type |
getReturnType(Type columnType,
Mapping mapping)
The return type of the function. May be either a concrete type which
is preset, or variable depending upon the type of the first function
argument. |
ClassicCountFunction
public ClassicCountFunction()
getReturnType
public Type getReturnType(Type columnType,
Mapping mapping)
- Description copied from class:
StandardSQLFunction
- The return type of the function. May be either a concrete type which
is preset, or variable depending upon the type of the first function
argument.
- Specified by:
getReturnType
in interface SQLFunction
- Overrides:
getReturnType
in class StandardSQLFunction