Skip to content

Tag: spring-boot

Spring Boot StackOverFlowError : Null

I have a problem when I want save repository by foreach loop . By Foreach loop user come and save it to another entity User.class public class Attendance { } User.class This is user class of User Entity Error show :: java.lang.StackOverflowError: null Answer Mixing what I saw in your code and what you said in…

Db insertion row if not exist spring boot

I have a two instances of one spring boot microservice. If two requests are sent at the same time, and the second request can update the row that was created by the first request. How i can prevent this? For example the table contains this columns :id,format,username,groupName and if a row exists (3,”te…

HTTP not present on Schemes Swagger dropdown

I’m using springfox-swagger-ui and for whatever reason, only https scheme is available on the dropdown, even if I reach swagger ui through http. I can’t use https for the moment, so need that scheme enabled but couldn’t find anything on the documentation. Any idea why is this happening? Answ…