final String queryName = queryDefault.getQueryName();
final Map<String, ObjectAdapter> argumentsAdaptersByParameterName = wrap(queryDefault.getArgumentsByParameterName());
return new PersistenceQueryFindUsingApplibQueryDefault(noSpec, queryName, argumentsAdaptersByParameterName, cardinality);
}
// fallback; generic serializable applib query.
return new PersistenceQueryFindUsingApplibQuerySerializable(noSpec, query, cardinality);
}