HHH-9752 : Deprecate ClassicAvgFunction, ClassicCountFunction, ClassicSumFunction

This commit is contained in:
Gail Badner 2015-04-28 13:48:06 -07:00
parent a6969ceb0a
commit 6fb6d7e3ad
3 changed files with 9 additions and 0 deletions

View File

@ -34,7 +34,11 @@ import org.hibernate.type.Type;
* Classic AVG sqlfunction that return types as it was done in Hibernate 3.1
*
* @author Max Rydahl Andersen
*
* @deprecated Use {@link org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions.AvgFunction}
* or {@link AvgWithArgumentCastFunction} instead.
*/
@Deprecated
public class ClassicAvgFunction extends StandardSQLFunction {
/**
* Constructs a ClassicAvgFunction

View File

@ -31,7 +31,10 @@ import org.hibernate.type.Type;
* Classic COUNT sqlfunction that return types as it was done in Hibernate 3.1
*
* @author Max Rydahl Andersen
*
* @deprecated Use {@link org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions.CountFunction} instead.
*/
@Deprecated
public class ClassicCountFunction extends StandardSQLFunction {
/**
* Constructs a ClassicCountFunction

View File

@ -28,7 +28,9 @@ package org.hibernate.dialect.function;
*
* @author Max Rydahl Andersen
*
* @deprecated Use {@link org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions.SumFunction} instead.
*/
@Deprecated
public class ClassicSumFunction extends StandardSQLFunction {
/**
* Constructs a ClassicSumFunction