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 frame a query using @Query annotation?

Is there any way to represent below query using spring-data mongo @Query annotation. db.users.find({userName: "titogeo"}, {requests: 1, _id:0}) …

java mongodb spring-data spring-mongo
How apply pagination in reactive Spring Data?

In Spring Data, we have PagingAndSortingRepository which inherits from CrudRepository. In reactive Spring Data, we only have ReactiveSortingRepository which inherits …

spring-data reactive-programming spring-data-mongodb
spring-data-mongo - optional query parameters?

I am using spring-data mongo with the JSON based query methods, and am unsure how to allow optional parameters in …

java spring mongodb spring-data spring-data-mongodb
Spring Data MongoDB Lookup with Pipeline Aggregation

How would I convert the following MongoDB query into a query to be used by my Java Spring application? I …

spring mongodb spring-data aggregation-framework spring-data-mongodb
Why do I get a "No property node found on entity class … to bind constructor parameter to!" with Spring Data MongoDB

Trying to use JodaTime's LocalDate with Spring Data MongoDB and Spring 4 but I am getting the following exception: SEVERE: Servlet.…

spring spring-data spring-data-mongodb
Spring Hibernate Vs jdbc template vs spring orm

We have a project with MySQL database and Spring as the framework. I am very new to Spring and looking …

hibernate spring-data spring-orm
How to configure a MongoDB cluster which supports sessions?

I want to explore the new transaction feature of MongoDB and use Spring Data MongoDB. However, I get the exception …

spring mongodb spring-boot spring-data spring-data-mongodb
Find entities containing a string in a list in Spring Data Repositories

I do have a simple MongoRepository and its entities do have a List<String> tags attribute. Is there …

spring-boot spring-data spring-data-rest
Nested objects have not been saved by Spring JpaRepository

I have a Spring Roo application with GWT. On server-side I´ve got simple JpaRepository interfaces for all entities like: @…

java spring repository spring-roo spring-data
"Cycle found" with Spring Data Mongo 1.5

I have a project perfectly running with Spring Data MongoDB 1.4.2. I tried to update to 1.5.0 and I get this error …

java spring spring-data spring-data-mongodb