Spring Data is an umbrella open source project which contains many subprojects that are specific to a given database. The projects are developed by working together with many of the companies and community that are behind these exciting technologies.

learn more…| top users | synonyms

0
votes
0answers
7 views

Spring Data Repository - Custom Base Repository Implementation

I followed the examples and instructions for custom base repository, repository impl, factory bean, etc. All works as expected. I have several repositories that now have this as a base repository and ...
0
votes
1answer
22 views

JPA: problems with translated tables

I have a problem with JPA (using Spring and Hibernate) when having 2 tables, one of them represents the translation of the other one. My intention is to retrieve the whole information of the ...
0
votes
1answer
23 views

Spring Data with strict In-clause

I want to query for elements where every element is required to have all given attributes of e.g. a set to be returned, not only one.Default Spring Data Jpa Query, where one attribute is enough:...
0
votes
0answers
21 views

Spring Data Couchbase - ClassNotFoundException for CustomConversions

If spring-data-couchbase 3.0.4 is used the following exception is raised:java.lang.NoClassDefFoundError: org/springframework/data/convert/CustomConversionsat java.lang.Class.getDeclaredMethods0(...
0
votes
0answers
11 views

Lettuce in Spring Integration 5: RedisQueueMessageDrivenEndpoint no really blocking

I've just switched from Spring Boot 1.X to Spring Boot 2.0 RC1, so now I'm using Spring Integration 5, which uses Lettuce as the default Redis library.I have a RedisQueueMessageDrivenEndpoint that I ...
0
votes
0answers
22 views

Create dynamic List Object in thymeleaf by Adding rows to Table

Here is my Code Sample with Controller.Controller classimport java.util.ArrayList;import org.CodeDaemons.dao.Document;import org.CodeDaemons.dao.Documents;import org.springframework.stereotype....
-2
votes
0answers
28 views

Can the Json parser automatically figure out the structure? [on hold]

I have a restful service and it generates the following JSON file. The 60, 69, 70 in secondSameQuery refer to the same IDs in firstQuery section. Can any JSON parser automatically figure out the ...
1
vote
1answer
32 views

Spring Data + MongoDB invalid reference error

Here is my code (Spring data):MatchOperation matchOperation=Aggregation.match(new Criteria("stats.channelId").is(channelId));UnwindOperation unwindOperation=Aggregation.unwind("...
1
vote
2answers
41 views

Spring Data LocalDate comparison fails (time is not ignored)

I got a Spring Boot app with an Oracle database. This is my repository and entity:public interface CampaignRepository extends CrudRepository<Campaign, Long> {@Query("select k from ...
0
votes
1answer
15 views

Spring data - MongoDB : How to return a page/slice of only specific fields

I want to implement pagination with scroll. My goal is to get a slice of data when scroll event is triggered.My document "Foo" structure is relatively complex with a lot of nested objects. But I ...
1
vote
0answers
19 views

Is it possible to generalize query patterns in repository class?

My question may be a little harder to get at first, so I want to start with an example. Given this repository example:@RepositoryRestResource(collectionResourceRel="movies", path="movies")...
0
votes
0answers
56 views

Spring Data JPA - Find objects by nested object property

I've implemented a flexible search REST API based on this article.That API works great except the one moment. When I want to find an object by some nested property, then JPA can't find anything....
0
votes
0answers
14 views

Is “spring-data-mongodb: 1.10.7” is compatible with “mongo v3.6.0”

I am getting this exception, when I am using mongoTemplate.aggregate API.Command execution failed: Error [The 'cursor' option is required, except for aggregate with the explain argument].I am ...
0
votes
1answer
22 views

Transaction propagation between services in spring

I have two services both are transactional with propagation REQUIRED. Service 2 is injected in service 1.Now method A in service 1 calls method B of service 2. Now I am invoking method A from client....
0
votes
0answers
24 views

Spring JPA MongoRepository causes “duplicate key” error rather than updating document

I have a field ID in my model: @Field(value="_id")private ObjectId Id;and a DB Entry:_id: ObjectId("5a7ecec9bd9bd72884484bc4")name:"October"my repository just extends MongoRepository, no ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,