After migrating to Spring Boot 3.0 our integration test showed that deleting a user did not work properly. The User has two properties, where both ar ...
After migrating to Spring Boot 3.0 our integration test showed that deleting a user did not work properly. The User has two properties, where both ar ...
I have a User model on a Mongo collection that looks like this: User.class I need to get a list of OrganizationDTO to send as a response to the fr ...
The question is that what does it save? Only the entity? The entity and it's relationships? Does it saves the relationships and the other end ...
I have a query like below that doesn't work. It throws IndexOutOfBoundsException: Index: 0, Size: 0 (sorry I can't post the whole stacktrace as it i ...
We are working on a spring boot library to generate and validate OTP. It uses database to store the OTP. We are using Spring Data JPA for Database op ...
I'm trying to create a data filter using SpringBoot and PostgreSQL, I'm trying to run a query to get a customer by its name or id or account id in a s ...
This might be a stupid question to any java knowledged person, but me just looking at from logical point of it doesn't seem to be that simple. Previo ...
I have recently upgraded my project to java 17 and spring boot 2.7.4 and spring cloud 2021.0.4. I am using mavenBom for spring cloud dependency manage ...
I am using spring-data-elasticsearch (5) to automagically write third-party data into an ES (8) index. The data contains geodata in GML format, which ...
I'm using a Repository that extends a spring data JpaRepository and would like to let it extend another interface. Previously, my db repository looke ...
I have a problem saving entity with UUID field. I create a new instance, call setMyGuid(UUID.fromString(guid)); and then call save method of my CrudRe ...
I have a query like this: Query 1: This is bind to an entity in SpringJPA. Now I have to select one more column from another table like below. Que ...
I have searched on StackOverflow a solution for this on the other discussions about this same error, but couldn't find an answer for this specific sce ...
I have an object that contains a Map<String, String> field: When querying data for this index, I am getting the following error: When usin ...
I am migrating from Streamset to Spring Cloud Data Flow. When I am looking for module list I realized that some of the sources are not listed in Sprin ...
So I am using jQuery to send a POST request whenever a value of a dropdown part of a form changes, everything works EXCEPT that the Ticket is not gett ...
I have a Java, Spring Data application with a PostgreSQL DB and I have a code similar to this in my service layer: Sometimes this code prints "Not ...
I have a typical Spring boot(2.7.6) application with apis' to fetch data in Kotlin. Assume an entity called Employee For brevity I have removed an ...
My situation is this: I am creating a marketplace where users can buy and sell products. I am trying to list a product with a ManyToOne relationship w ...
For an assignment I have to write a query with multiple OR conditions. If I had to write it using MongoDB Query Language it would be trivial I the ...