}
protected static QueryBindings setParameters(QueryBindings bindings, ServerCallInvocation invocation) {
if (!invocation.parametersInOrder()) {
if (invocation.hasParameters()) {
QueryBindings calleeBindings = new SparseArrayQueryBindings();
invocation.copyParameters(bindings, calleeBindings);
bindings = calleeBindings;
}
else {
invocation.copyParameters(null, bindings);