java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.query.QueryUtils

public abstract class QueryUtils extends Object
  • Method Details

    • hasToManyOuterJoin

      public static boolean hasToManyOuterJoin(Set<jakarta.persistence.criteria.Root<?>> roots)
    • hasToManyOuterJoin

      public static boolean hasToManyOuterJoin(jakarta.persistence.criteria.Root<?> root)
    • applyParametersToQuery

      public static <T> org.hibernate.query.Query<T> applyParametersToQuery(org.hibernate.query.Query<T> query, Map<String,Object> parameters, ParameterCollector collector, Map<String,ParameterProvider<?>> parameterProviders, TypeManager typeManager, CriteriaBuilderWrapper criteriaBuilder)
      Applies the parameters contained in the ParameterCollector and the given parameter map to the Query. Parameters are converted to the target type if necessary (and possible). ParameterProvider are also applied if a parameter with such a name exists.