Skip to content

Tag: spring

how do I add JRE to Spring Tool Suite

I’ve just installed JDK 16 on MacOS: $echo $JAVA_HOME So now how do I define new JRE in STS in Installed JREs window? Which folder do I pick up? Answer windows->preferences->installed JRE – JRE Home :go to sts installed folder c:…sts-4.10.0.RELEASEpluginsorg.eclipse.justj.openjdk.hotsp…

How to ignore a field from DB [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I have a list of persons in DB everyone having a CV field which is a MultiPart File in Spring…

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…

Who should be parent in spring JPA relationship

I have 3 tables book, publisher, author. Here author and publisher can refer to same record in book therefore I decided to make book as relationship parent. However I also want to make it so that if a publisherA is deleted, all the book record related to publisherA also get deleted. same goes for author. I tr…