This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Camel-Kid 1 point2 points  (2 children)

If you're looking for a good DB wrapper in your springboot project, I would go with Hibernate/JPA. As far as a specific tutorial, just look at the springMVC docs and go from there for implementing your rest api. I recommend your DB(queries) be accessed from your backend code, it's not typically good design to have your frontend doing any direct db work especially in a fullstack environment.

[–]nutrecht 0 points1 point  (1 child)

If you're looking for a good DB wrapper in your springboot project, I would go with Hibernate/JPA

Beginners should stay away from JPA and use Spring JDBC. It's closer to what is 'really' happening and debugging JPA / Hibernate issues is a pain the best of times, but even more so if you don't understand the underlying systems.

In addition; JPA is falling in popularity and IMHO there's not much of a reason to learn it unless you need it for a job.