Skip to content

Tag: jpa

NullPointerException on JPA on SpringBoot

I’m new on SpringBoot and I’m making a small CRUD. When I try to make a GET request that show me a list of soccer teams from my BD called “soccer” I’ve have the following error message: My model “Equipo” is: My Repositorie “EquipoRepo” is My service &#8220…

Problem with Foreign Key in @OneToOne annotation

I have spent a couple of days with a weird problem. There is a plethora of similar posts here in StackOverflow and I have check a lot of them but I was unable to find something similar with this. I have a Human Parent class A User child class : and also a CollectionOfContactMethods with composition relationsh…