spring-attic / tut-react-and-spring-data-rest

React.js and Spring Data REST :: A tutorial based on the 5-part blog series by Greg Turnquist
https://spring.io/guides/tutorials/react-and-spring-data-rest
883 stars 1.58k forks source link

what database are you using? #56

Closed headwinds closed 7 years ago

headwinds commented 7 years ago

I'm enjoying your tutorial - It's easy to follow and get up and running...

I've gone through it and it's not immediately obvious to me - being basically a junior java dev - what database are you using? I like your explanation of the JPA but where does the data persist to?!

gregturn commented 7 years ago

Glad you like it!

It uses H2, an in memory SQL database engine through JPA. If you check Spring Boot's ref docs, you'll find that in dev mode, Boot auto wires H2 when on the classpath to work in embedded mode.

headwinds commented 7 years ago

thank you! I'll check it out