Skip to content

Tag: crud

@DeleteMapping endpoint not triggered at all

My webClient calls work fine with @GetMapping, but @DeleteMapping isn’t even triggered. Here are the two methods I’m using: The endpoints are: When I try to delete an item I get no errors, no 405, no 400, no 403, nothing. The webClient call returns normally (with a MonoIgnorePublisher object), but…

Java: Retrieve and display value from database in label

I am building a Java desktop app using Java Swing. This is the select service method I would like to display the result of this in a label There is an error at jLabel1.setText(numberOfDays.select(1)); Saying ‘void type not allowed here’. What am I doing wrong? Appreciate any input regarding this m…