Class Overview
Classic AVG sqlfunction that return types as it was done in Hibernate 3.1
Public Constructors
public
ClassicAvgFunction
()
Public Methods
public
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.
Note, the 'firstArgumentType' parameter should match the one passed into
render(Type, List, SessionFactoryImplementor)
Parameters
columnType
| The type of the first argument |
mapping
| The mapping source. |
Returns
- The type to be expected as a return.