java.lang.Object
com.cosium.spring.data.jpa.entity.graph.domain2.EntityGraphQueryHint

public class EntityGraphQueryHint extends Object
Author:
Réda Housni Alaoui
  • Constructor Details

    • EntityGraphQueryHint

      public EntityGraphQueryHint(EntityGraphType type, javax.persistence.EntityGraph<?> entityGraph)
    • EntityGraphQueryHint

      public EntityGraphQueryHint(EntityGraphType type, javax.persistence.EntityGraph<?> entityGraph, boolean failIfInapplicable)
      Parameters:
      failIfInapplicable - true if an InapplicableEntityGraphException must be thrown if this entity graph cannot be applied.
  • Method Details

    • type

      public EntityGraphType type()
    • entityGraph

      public javax.persistence.EntityGraph<?> entityGraph()
    • failIfInapplicable

      public boolean failIfInapplicable()
      Returns:
      true if an InapplicableEntityGraphException must be thrown if this entity graph cannot be applied.