Package org.springframework.data.jpa.repository

Examples of org.springframework.data.jpa.repository.EntityGraph.type()


    private static final JpaEntityGraph findEntityGraph(Method method) {

      EntityGraph entityGraphAnnotation = AnnotationUtils.findAnnotation(method, EntityGraph.class);
      return entityGraphAnnotation == null ? null : new JpaEntityGraph(entityGraphAnnotation.value(),
          entityGraphAnnotation.type());
    }

    private static final LockModeType findLockModeType(Method method) {

      Lock annotation = AnnotationUtils.findAnnotation(method, Lock.class);
View Full Code Here


   * @since 1.6
   */
  JpaEntityGraph getEntityGraph() {

    EntityGraph annotation = findAnnotation(method, EntityGraph.class);
    return annotation == null ? null : new JpaEntityGraph(annotation.value(), annotation.type());
  }

  /**
   * Returns whether the potentially configured {@link QueryHint}s shall be applied when triggering the count query for
   * pagination.
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.