Top "Spring-data" questions

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

How to use order by and Limit in Spring Data JPA using QueryDSL

I am using Spring Data JPA with a RDBMS in my project. I have a requirement where I have to …

java database querydsl spring-data
How to disable the default exposure of Spring Data REST repositories?

I have a project that uses spring-data-rest, and has a dependency project that only uses Spring Data. Both projects have …

java spring-data spring-data-rest
Spring Redis Error Handle

I am using Spring + Redis as my cache component in the new project. The spring config xml file is: <!…

error-handling redis spring-data jedis
ReactiveCrudRepository to use Hibernate in spring

Is it possible to use Hibernate and RDBMS(Mysql, Postgres etc) with ReactiveCrudRepository instead of CrudRepository? I have tried some …

spring hibernate spring-data-jpa spring-data reactive
The import org.springframework.data cannot be resolved in gradle

I refreshed my gradle project but it gives me error that " The import org.springframework.data cannot be resolved " The …

java spring spring-data rest-assured
Spring Data ExampleMatchers by Example

I'm trying to understand how to use Spring Data's Query by Example capabilities, and am struggling to understand how to …

spring spring-data spring-data-jpa query-by-example
Equivalent of criteria in spring-data-jpa

I was using hibernate but i heard that spring-data-jpa is the best so i try it and i'm satisfy with …

spring hibernate jpa criteria spring-data
Spring JPA Auditing empty createdBy

I am using the auditing capabilities of Spring Data and have a class similar to this: @Entity @Audited @EntityListeners(AuditingEntityListener.…

java spring spring-data auditing
Configuring base package for component scan in Spring boot test

When I launch my test with the following annotations: package com.hello.package.p1; @RunWith(SpringRunner.class) @DataMongoTest @SpringBootTest public …

spring-boot spring-data spring-test