mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
EJB-447 : Implement JPA 2.0 criteria apis (revert to strict method sigs)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17250 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
5d08386293
commit
f6665eccba
@ -549,28 +549,28 @@ public <T> Expression<T> literal(T value) {
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public <N extends Number> AggregationFunction.AVG avg(Expression<N> x) {
|
||||
public <N extends Number> Expression<Double> avg(Expression<N> x) {
|
||||
return new AggregationFunction.AVG( this, x );
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public <N extends Number> AggregationFunction.SUM<N> sum(Expression<N> x) {
|
||||
public <N extends Number> Expression<N> sum(Expression<N> x) {
|
||||
return new AggregationFunction.SUM<N>( this, x );
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public <N extends Number> AggregationFunction.MAX<N> max(Expression<N> x) {
|
||||
public <N extends Number> Expression<N> max(Expression<N> x) {
|
||||
return new AggregationFunction.MAX<N>( this, x );
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public <N extends Number> AggregationFunction.MIN<N> min(Expression<N> x) {
|
||||
public <N extends Number> Expression<N> min(Expression<N> x) {
|
||||
return new AggregationFunction.MIN<N>( this, x );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user