Top "Spring-data" questions

Spring Data is an umbrella open source project which contains many subprojects that are specific to a given database.

Spring Data Rest - Sort by multiple properties

I have an entity as below Class Person{ String id; String name; String numberOfHands; } With Spring Data Rest (Gosling Release …

spring spring-data spring-data-jpa spring-data-rest
spring data - Mongodb - findBy Method for nested objects

I have two domain objects, @Document public class PracticeQuestion { private int userId; private List<Question> questions; // Getters and …

mongodb spring-data findby
Filtering database rows with spring-data-jpa and spring-mvc

I have a spring-mvc project that is using spring-data-jpa for data access. I have a domain object called Travel which …

java spring spring-mvc spring-data spring-data-jpa
Query by Boolean properties in spring-data-jpa without using method parameters

Is it possible to query by Boolean properties in Spring Data JPA without using method parameters? Basically I would like …

java spring-data spring-data-jpa
Spring data query where column is null

Suppose I have entities (getters/setters and various details omitted for brevity): @Entity class Customer{ ... @OneToMany(cascade = CascadeType.ALL, mappedBy = "…

spring spring-data spring-data-jpa
Dynamic spring data jpa repository query with arbitrary AND clauses

I'm using Spring data jpa repositories, Got a requirement to give search feature with different fields. Entering fields before search …

java spring spring-data spring-data-jpa querydsl
Spring Data JPA: Query by Example?

Using Spring Data JPA can I do a query by example where a particular entity instance is used as the …

java spring spring-data spring-data-jpa
Update single field using spring data jpa

I'm using spring-data's repositories - very convenient thing but I faced an issue. I easily can update whole entity but …

java spring spring-data updates spring-data-jpa
Spring boot - custom variables in Application.properties

I have spring boot client that consumes a restful api. Instead of hardcoding the IP address of the REST API …

spring spring-mvc spring-boot spring-data
How to solve Timeout FeignClient

My application is getting below error when consuming a service that performs queries in SQL Server using FeignClient. ERROR: Exception …

java spring-boot spring-data netflix-feign