Becoming a Fullstack Developer

A blog by J. Weyh

A new start

04.08.2026

After a long break from working with Spring and this blog, I am back to try again. Never give up, right?

On my first day, I worked my way back into my Spring project in IntelliJ. Luckily I was able to pick it up from where I left off. When I last worked on a project, I successfully connected the SpringBoot project with a H2 database. While not being a 'real' database in that it always restarts when the application does, it still was exciting to be able to work with the database's table via IntelliJ/Postman.

Today, I worked on inserting data into the database when the application starts up, by using a .sql data file in IntelliJ. To make this a little bit more sophisticated, I then set up a .json file containing 10 different entries for the database, and a loader class that reads from that file, deserializes the data, maps it to the corresponding Java class and creates a list. Then a stream can read this list and make a create statement for each entry.

It took me good long while to actually get this to work. Most of my problems involved naming problems between all the different classes and files. That problem also occured when I tried to get Postman to work with my new changes. In the end however I was able to admire 10 entries being loaded into my database whenever the application starts run, and on top of that all Postman operations worked as well!

I'm very happy about this success and I'm looking forward to tomorrow, where we'll start connecting the SpringBoot project to a 'real' database (and have a lot less initial success, I'm afraid).