Top "Spring-data-jpa" questions

Spring Data - JPA is part of the Spring Data umbrella project which makes it easy to implement JPA based repositories

How to query data out of the box using Spring data JPA by both Sort and Pageable?

I am trying Spring data JPA in my project. I want to know if there is an out-of-the-box API to …

java spring jpa spring-data-jpa
Spring Data and Native Query with pagination

In a web project, using latest spring-data (1.10.2) with a MySQL 5.6 database, I'm trying to use a native query with pagination …

spring spring-data spring-data-jpa
What is the difference between Hibernate and Spring Data JPA

What are the main differences between Hibernate and Spring Data JPA? When should we not use Hibernate or Spring Data …

java spring hibernate jpa spring-data-jpa
Case insensitive Query with Spring CrudRepository

With Spring CrudRepository Query; I want to select "DeviceType" entities with it's "name" property. But following query select the entitles …

spring spring-data-jpa
EntityNotFoundException in Hibernate Many To One mapping however data exist

I am getting javax.persistence.EntityNotFoundException error when I am trying to get User through Invoice object invoice.getUser().getId() …

spring hibernate jpa spring-data-jpa
How to use @Transactional with Spring Data?

I just started working on a Spring-data, Hibernate, MySQL, JPA project. I switched to spring-data so that I wouldn't have …

java spring jpa spring-data spring-data-jpa
How to do bulk (multi row) inserts with JpaRepository?

When calling the saveAll method of my JpaRepository with a long List<Entity> from the service layer, trace …

hibernate spring-boot kotlin spring-data-jpa cockroachdb
What is the LIMIT clause alternative in JPQL?

I'm working with PostgreSQL query implementing in JPQL. This is a sample native psql query which works fine, SELECT * FROM …

java mysql jpa spring-data-jpa jpql
Spring Data JPA. How to get only a list of IDs from findAll() method

I have a very complicated model. Entity has a lot relationship and so on. I try to use Spring Data …

spring spring-data-jpa specifications criteria-api
How does Spring Data JPA differ from Hibernate for large projects?

I am having a hard time deciding if I should stick with Hibernate for a new project, or get my …

java spring hibernate jpa spring-data-jpa