The Problem I have a 1:n relation, but the n side shouldnt rely on constraints. So i actually wanna insert a EntityPojo via its future id, when its not saved yet ( Lets ignore that its a bad practice )…
Each user has its profile that is stored in a XML file linked to a Java class. But not necessarily they access this profile when they use the App, because they may just use the app without editing its …
I think this might be a very basic Java question, and I apologize since I’m a beginner, but I want to understand what am I getting wrong here: I’m supposed to create a package, and inside it, I must …
Comparing the values in Mono a and Mono b, if the value in Mono a is larger, I want to throw an error. Mono a = getA(); Mono …
I have two forms, one form to create user and one to update user.These forms are similiar and I want to use one type in my method,I wouldn’t like to create two methods one to create user from …
I’ve been trying to display the highest score from the URL file and have been able to display the entire score list but I cant get it to display the maximum or it throws an error. I was able to …
I have a user who has an expiration date (dateTime), I need to display all users who have not expired yet. Tried different options with DATA (), or as an example – @Query (name = “SELECT u FROM …
I need to convert a list of objects to a map of sets of one of the objects’ property and I’d like to use Java streams for that. For example there is a List and I’d like to convert it to a …
I have 2 classes: @Data @Builder public class Boss { private String name; private List subordinates; } @Data @Builder public class Employee { private String …
Recent Comments