HHH-12136 - Various improvements for ProcedureCall/StoredProcedureQuery

This commit is contained in:
Andrea Boriero 2018-01-17 17:00:36 +00:00
parent f1263f8c7c
commit 4172e9ca06
1 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import java.util.function.Consumer;
@ -72,7 +73,7 @@ public class ProcedureParameterMetadata implements ParameterMetadata {
@Override
public Set<QueryParameter<?>> collectAllParameters() {
final Set<QueryParameter<?>> rtn = new HashSet<>();
final Set<QueryParameter<?>> rtn = new LinkedHashSet<>();
for ( ProcedureParameter parameter : parameters ) {
rtn.add( parameter );
}
@ -81,7 +82,7 @@ public class ProcedureParameterMetadata implements ParameterMetadata {
@Override
public Set<Parameter<?>> collectAllParametersJpa() {
final Set<Parameter<?>> rtn = new HashSet<>();
final Set<Parameter<?>> rtn = new LinkedHashSet<>();
for ( ProcedureParameter parameter : parameters ) {
rtn.add( parameter );
}