Category "spring-data"

Predicate on a field of an entity class which is type of a parent class and filter on fields of its children

In the entity class A there is a field of type P1 named as p. Class P2 and P3 is extended from P1. In the predicate I want to filter the result based on a field

How to tell what action was taken by the JPA save method

I have a repo: public interface SomeRepository extends CrudRepository<SomeClass, Long> { SomeClass findById(Long id); } and I need to save objects

How to limit result in @Query used in Spring Data Repository

I am retrieving data by CrudRepository in Spring Data JPA. I want to filter my records those are retrieved from my custom query provided in @Query annotation. I

Can't Autowire @Repository annotated interface in Spring Boot

I'm developing a spring boot application and I'm running into an issue here. I'm trying to inject a @Repository annotated interface and it doesn't seem to work

How to generate form and crud using Spring and React

I want to dynamically generate crud form based on my API. I am using spring, spring-data-rest and spring-hateoas. I don't wan't to render react from java. I

spring data MongoDB maintaining data integrity in bulk update

I have a scenario where list of say 1000's employees (sample below) where their balance is updated at every month end where balance of each employee can be diff