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 do I update an entity using spring-data-jpa?

Well the question pretty much says everything. Using JPARepository how do I update an entity? JPARepository has only a save …

java jpa spring-data-jpa
How to use OrderBy with findAll in Spring Data

I am using spring data and my DAO looks like public interface StudentDAO extends JpaRepository<StudentEntity, Integer> { public …

spring spring-data spring-data-jpa
Spring Data JPA - "No Property Found for Type" Exception

Well, I searched Google and found many results, but none of them was able to answer my problem. So, here …

java jpa spring-data-jpa
Spring JPA selecting specific columns

I am using Spring JPA to perform all database operations. However I don't know how to select specific columns from …

java jpa spring-data-jpa
What is difference between CrudRepository and JpaRepository interfaces in Spring Data JPA?

What is the difference between CrudRepository and JpaRepository interfaces in Spring Data JPA? When I see the examples on the …

java spring jpa spring-data spring-data-jpa
Joining two table entities in Spring Data JPA

I want to write a query like SELECT * FROM Release_date_type a LEFT JOIN cache_media b on a.…

spring hibernate jpa spring-data-jpa
Spring CrudRepository findByInventoryIds(List<Long> inventoryIdList) - equivalent to IN clause

In Spring CrudRepository, do we have support for "IN clause" for a field? ie something similar to the following? findByInventoryIds(…

java spring jpa spring-data spring-data-jpa
Does Spring Data JPA have any way to count entites using method name resolving?

Spring Data JPA supports counting entities using specifications. But does it have any way to count entities using method name …

java spring spring-data-jpa
Is it possible to use raw SQL within a Spring Repository

I need to use raw SQL within a Spring Data Repository, is this possible? Everything I see around @Query is …

java hibernate spring-data-jpa
When use getOne and findOne methods Spring Data JPA

I have an use case where it calls the following: @Override @Transactional(propagation=Propagation.REQUIRES_NEW) public UserControl getUserControlById(Integer …

jpa spring-data spring-data-jpa