Class QueryBuilderJoinHelper

java.lang.Object
ch.tocco.nice2.persist.core.api.hibernate.QueryBuilderJoinHelper

public abstract class QueryBuilderJoinHelper extends Object
  • Method Details

    • join

      public static jakarta.persistence.criteria.Path<?> join(FieldResolver fieldResolver, DataModel dataModel, PathNode node, jakarta.persistence.criteria.From<?,?> queryRoot)
      Applies a path node to a certain query root. Makes all necessary joins and returns the latest Join instance. If the last part of the path is a property it is included in the result.
    • findOrCreateJoin

      public static jakarta.persistence.criteria.Join<?,?> findOrCreateJoin(jakarta.persistence.criteria.From<?,?> currentEntity, String name, jakarta.persistence.criteria.JoinType joinType)