HHH-17150 Remove final from SqmSelectionQueryImpl#setOrder
Hibernate Reactive needs to override these methods
This commit is contained in:
parent
da522846d8
commit
fb608bddb8
|
@ -291,7 +291,7 @@ public class SqmSelectionQueryImpl<R> extends AbstractSelectionQuery<R>
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final SelectionQuery<R> setOrder(List<Order<? super R>> orderList) {
|
public SelectionQuery<R> setOrder(List<Order<? super R>> orderList) {
|
||||||
sqm = sqm.copy( SqmCopyContext.noParamCopyContext() );
|
sqm = sqm.copy( SqmCopyContext.noParamCopyContext() );
|
||||||
sqm.orderBy( orderList.stream().map( order -> sortSpecification( sqm, order ) )
|
sqm.orderBy( orderList.stream().map( order -> sortSpecification( sqm, order ) )
|
||||||
.collect( toList() ) );
|
.collect( toList() ) );
|
||||||
|
@ -302,7 +302,7 @@ public class SqmSelectionQueryImpl<R> extends AbstractSelectionQuery<R>
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final SelectionQuery<R> setOrder(Order<? super R> order) {
|
public SelectionQuery<R> setOrder(Order<? super R> order) {
|
||||||
sqm = sqm.copy( SqmCopyContext.noParamCopyContext() );
|
sqm = sqm.copy( SqmCopyContext.noParamCopyContext() );
|
||||||
sqm.orderBy( sortSpecification( sqm, order ) );
|
sqm.orderBy( sortSpecification( sqm, order ) );
|
||||||
// TODO: when the QueryInterpretationCache can handle caching criteria queries,
|
// TODO: when the QueryInterpretationCache can handle caching criteria queries,
|
||||||
|
|
Loading…
Reference in New Issue