'Why won't my SpringBoot Project program populate tables in the database?
I have tried connecting to my Spring Boot project to a PostgreSQL database for the past few days and I have no errors running this project but when I open up my DBeaver to check the database there are no tables being populated. I have tried using local database as well as GCP CloudSQL database connections and neither have worked.
I can provide a github link to the project if the screenshots are not clear enough. https://github.com/shaynemcp/SpringERS
I would really appreciate any help as I have an understanding of what SHOULD take place but can't seem to figure out why I have not been able to achieve my expected outcome.
Solution 1:[1]
Judging by your code you are never saving anything to a repository. I'm unsure what you would be expecting to be saved. Your service layer is empty.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | crychair |