Questions tagged [spring-data-keyvalue]

The Spring Data KeyValue provides out of the box support for java.util.Map based repository implementations. Additionally it provides infrastructure components to build repository abstractions for stores dealing with Key/Value pairs.

Features:

  • Dynamic SpEL query generation from query method names.
  • Possibility to integrate custom repository code.
  • Infrastructure for building repositories on top of key/value implementations.

See the Reference Documentation for more information or visit the projects web site.

11 questions
7
votes
1 answer

Is it possible to use RedisRepositories and KeyValueRepositories?

I'm trying to use @EnableRedisRepositories and @EnableMapRepositories in a project and I'm getting the following error message: Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name…
vrish88
  • 20,047
  • 8
  • 38
  • 56
7
votes
2 answers

Spring Data Rest Repository with abstract class / inheritance

I can't get Spring Data Rest with class inheritance working. I'd like to have a single JSON Endpoint which handles all my concrete classes. Repo: public interface AbstractFooRepo extends KeyValueRepository {} Abstract…
Benjamin M
  • 23,599
  • 32
  • 121
  • 201
4
votes
0 answers

Spring Data Redis with JSON converters gives "Path to property must not be null or empty."

I am trying to use a CrudRepository in association with spring-data-redis and lettuce. Following all the advice I can find I have configured my spring-boot 2.1.8 application with @ReadingConverters and @WritingConverters but when I try to use the…
2
votes
0 answers

Spring Data Key Value Derived Delete Support

Does Spring Data Key Value support derived delete query methods? It doesn't work for me. I extended Repository, declared a few CrudRepository methods, and added these derived query methods to it: List
Kevin Condon
  • 1,618
  • 10
  • 16
1
vote
1 answer

Spring Data key-value custom queries does not work

There is an in-memory repository class: @Repository interface InMemoryBookRepository extends CrudRepository { int countByAuthor(String author); } The book model class: @Value @NoArgsConstructor(force = true, access =…
Reddi
  • 677
  • 6
  • 19
0
votes
0 answers

Hazelcast KeyValueRepository (spring-data-keyvalue) not working with list of objects as a entity

We have recently upgraded our application from spring boot 2.1.6.RELEASE to 2.6.14. Along with it, we also upgraded spring-boot-starter-data-jpa to be compliant with spring-boot which bring in upgrade of these two…
0
votes
0 answers

Spring-Batch using MySql and Spring-Data Key-Value together

I have PoC to test Spring-Batch with MySql and Key-Value together. POM org.springframework.boot spring-boot-starter-data-jpa
JiKra
  • 1,618
  • 3
  • 29
  • 45
0
votes
1 answer

How can i setup Spring Boot with two datasources (MapRepository and H2 JPARepository)?

I'm trying to set up a spring boot project with two datasources. First datasource would be a H2 Database and second a MapRepository. Both repositories would share the same entity. I could manage to setup a project with two H2 databases, but when I…
Ina93
  • 11
  • 1
0
votes
1 answer

Spring Data Hazelcast Repository not working

I try to connect my Springboot(v1.4.2) App with a Hazelcast Cluster to find stored data. For that I'm using a hazelcast-client instance and I created a HazelcastRepository to search my data. The problem is that my Repository doesn't find any data.…
0
votes
3 answers

Spring Data Key Value Implementation for Oracle KV

I would like to use Oracle NoSQL database together with Spring data. The aim is to access the data over spring data repositories and even use spring data rest on top of it. So I think the spring-data-keyvalue project would help me, to implement an…
Joel Neukom
  • 529
  • 6
  • 7
0
votes
1 answer

How to bootstrap Spring Data KeyValue?

Spring Data KeyValue looks great for quickly knocking up a mock microservice. How can I bootstrap it with data? I tried adding stuff to the KeyValueAdapter, but by specifying the bean myself, I've ended up with Repositorys that have been wired with…
DeejUK
  • 12,891
  • 19
  • 89
  • 169