I'm currently trying to learn how to use Spring Boot and have a problem I'm not sure how to solve.
I've followed the guide at http://spring.io/guides/gs/accessing-data-jpa/ and everything works fine. However, if I restart the server, then all the data that was saved is completely lost. Is there any way to keep the data in the repository/database so that if I shut down the application and start it again, all the previously saved data is still accessible?
Thank you in advance :)