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

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Annotation Interfaces
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.data.jpa.repository.query.JpaEntityGraph.isAdHocEntityGraph()
    since 3.5 as the used evaluation does not represent whether a JpaEntityGraph is dynamic or not.
    org.springframework.data.jpa.repository.Temporal
    since 4.0. Please use java.time types instead.
  • 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.
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.springframework.data.jpa.repository.Temporal
    since 4.0. Please use java.time types instead.
  • 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.5 as the used evaluation does not represent whether a JpaEntityGraph is dynamic or not.
    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

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