Skip navigation links
Spring Data JPA Parent
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.data.jpa.repository.query.JpaEntityGraph.isAdHocEntityGraph()
    since 3.4.1 as the used evaluation does not represent whether a JpaEntityGraph is dynamic or not.
    org.springframework.data.jpa.repository.query.JpaParameters.JpaParameter(MethodParameter)
    since 3.2.1
    org.springframework.data.jpa.repository.query.QueryEnhancer.getJoinAliases()
    org.springframework.data.jpa.repository.query.QueryEnhancer.getQuery()
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.data.envers.repository.support.EnversRevisionRepository
    since 1.1, in favor of simply extending RevisionRepository.
  • Deprecated Classes
    Class
    Description
    org.springframework.data.jpa.repository.query.JSqlParserUtils
    internal utility class.
    org.springframework.data.jpa.repository.support.QuerydslJpaRepository
    Instead of this class use QuerydslJpaPredicateExecutor
  • Deprecated Methods
    Method
    Description
    org.springframework.data.envers.repository.support.DefaultRevisionMetadata.getRevisionDate()
    org.springframework.data.jpa.repository.JpaRepository.deleteInBatch(Iterable<T>)
    Use JpaRepository.deleteAllInBatch(Iterable) instead.
    org.springframework.data.jpa.repository.JpaRepository.getById(ID)
    use JpaRepository.getReferenceById(ID) instead.
    org.springframework.data.jpa.repository.JpaRepository.getOne(ID)
    use JpaRepository.getReferenceById(ID) instead.
    org.springframework.data.jpa.repository.query.JpaEntityGraph.isAdHocEntityGraph()
    since 3.4.1 as the used evaluation does not represent whether a JpaEntityGraph is dynamic or not.
    org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy.create(EntityManager, JpaQueryMethodFactory, QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider, QueryRewriterProvider, EscapeCharacter)
    since 3.4, use JpaQueryLookupStrategy.create(EntityManager, JpaQueryMethodFactory, Key, ValueExpressionDelegate, QueryRewriterProvider, EscapeCharacter) instead.
    org.springframework.data.jpa.repository.query.QueryEnhancer.applySorting(Sort, String)
    org.springframework.data.jpa.repository.query.QueryEnhancer.getJoinAliases()
    org.springframework.data.jpa.repository.query.QueryEnhancer.getQuery()
    org.springframework.data.jpa.repository.query.QueryUtils.createCountQueryFor(String)
    use DeclaredQuery.deriveCountQuery(String) instead.
    org.springframework.data.jpa.repository.query.QueryUtils.createCountQueryFor(String, String)
    use DeclaredQuery.deriveCountQuery(String) instead.
    org.springframework.data.jpa.repository.query.QueryUtils.detectAlias(String)
    use DeclaredQuery.getAlias() instead.
    org.springframework.data.jpa.repository.support.SimpleJpaRepository.getById(ID)
    org.springframework.data.jpa.repository.support.SimpleJpaRepository.getCountQuery(Specification<T>)
    override SimpleJpaRepository.getCountQuery(Specification, Class) instead
    org.springframework.data.jpa.repository.support.SimpleJpaRepository.getOne(ID)
    org.springframework.data.jpa.repository.support.SimpleJpaRepository.readPage(TypedQuery<T>, Pageable, Specification<T>)
    use SimpleJpaRepository.readPage(TypedQuery, Class, Pageable, Specification) instead
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.data.jpa.repository.query.JpaParameters.JpaParameter(MethodParameter)
    since 3.2.1

Copyright © 2011–2025 Pivotal Software, Inc.. All rights reserved.