Top "Spring-data" questions

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

Why is data getting stored with weird keys in Redis when using Jedis with Spring Data?

I am using Spring Data Redis with Jedis. I am trying to store a hash with key vc:${list_id}. …

redis spring-data jedis
Mongo - Ignore property from being persisted

I have a standard POJO that has a set of properties in it. The POJO has been annotated as a @…

java mongodb spring-data spring-data-document
@Transient annotation, @org.springframework.data.annotation.Transient annotation, transient keyword and password storing

Currently I'm learning the Spring framework, mainly focusing on it's Security Module. I've watched some guides in connection with registration …

jpa spring-security spring-data spring-annotations transient
How To Configure MongoDb Collection Name For a Class in Spring Data

I have a collection called Products in my MongoDB database, which is represented by the interface IProductPrice in my Java …

java spring mongodb spring-data spring-data-mongodb
Using generics in Spring Data JPA repositories

I have a number of simple object types that need to be persisted to a database. I am using Spring …

java spring jpa spring-data spring-data-jpa
Spring data mongodb. Generating id's error

I have made an experiment... one common entity for two Spring data's repositories: - JPA - MongoDB first of all …

java mongodb spring-data spring-data-mongodb
Query with sort() and limit() in Spring Repository interface

I'm new to Spring Data with MongoDB and would like to have an automagically generated query method inside my MongoRepository …

spring-data mongodb-java
how to show query while using query annotations with MongoRepository with spring data

I'm using MongoRepository in spring boot to access mongo: public interface MongoReadRepository extends MongoRepository<User, String> { @Query(value = "{$…

java spring mongodb spring-data mongorepository
Spring Data JPA difference between findBy / findAllBy

Is there any difference when using Spring Data JPA keywords between: List<SomeEntity> findBySomeCondition(); and List<SomeEntity&…

java spring spring-data spring-data-jpa
Spring Data JPA: query ManyToMany

I have entities User and Test @Entity public class User { private Long id; private String userName; } @Entity public class Test { …

java spring jpa spring-data spring-data-jpa