I have a small standard Spring Boot microservice which is Spring Data REST for a single Mongo DB collection. The document contains the UUID field. The ...
I have a small standard Spring Boot microservice which is Spring Data REST for a single Mongo DB collection. The document contains the UUID field. The ...
I'm using Spring Data Rest and I have an Entity employee and trying to delete by firstName by extending JpaRepository as follows. The code works ...
My repository method is: Which is called from Controller (@RepositoryRestController) as : The Page is converted to CollectionModel: The outpu ...
I have migrated a Spring Boot application to Spring Boot 3 and compiled a native image. The application is exposing a simple entity using Spring Data ...
I created a REST API with Spring Data Rest that forks fine. It must be possible to clone Projects via the API, so I added a custom @RestController to ...
I have the following JPQL query in a Spring Data Repository: A client calls the query as follows (which is exposed via Spring Data REST): Howeve ...
I'm working on a small project including web using react and rest api using spring data rest which all packaged in a jar. The web and api are all prot ...
I have a question about spring data rest. I want to use HandleBefore, After* annotations. ex) @HandleBeforeCreate... etc If you look for the documen ...
We would like to share the Employee across both applications exposed as micro services. But Employee has the JPA definition, how do we package this is ...
I Don't have HAL browser or explorer in my dependencies. But it was already enable in root of my project: http:127.0.0.1:8080/ or http:127.0.0.1:8080/ ...
After updating Spring Boot from version 1.5 to 2.7, POST requests returns status 400. I have Feed repository: Spring Data Rest generate default co ...
I have the following problem. I am currently working with spring, spring-data-jpa and spring-data-rest. I want to create an rest endpoint for my jpa r ...
I need to set some permissions on method level for my API. For this I'm adding @PreAuthorize to the methods in my repository. It works for findAll but ...
I have a boot app I have a repository, I dont have a controller to take an advantage of Spring Data Rest Moduel. Am using SPRING DATA REST to expos ...
A POST request with media type, "application/hal+json", is issued to a Spring Data Rest endpoint, /api/groupMembers. It contains the following payload ...
I would like to create a new Employee that reports to a Manager. An Employee cannot be POSTed without a Manager. Provided that I already have the Mana ...
I've read this answer as a solution to POSTing an entity with nested entities. But I want to make a RESTful POST request. That is, I want nested enti ...
I'm using Spring Data Rest and have @RepositoryRestResource defined with the path is "pathXYZ". Now I have a class with @RestController and defined a ...
On the client and server side, I have: Note: On the server side these are entities. (I'm using Spring Boot Data Rest to save.) The client creates ...
Spring Boot 2.7.0 I faced CORS exception that triggered XMLHttpRequestError when trying to post via the '/login' path, other paths such as '/api/v1/me ...