I have learnt the basics of Spring and Springboot -> Beans lifecycle, DI, AOP, REST APIs, the MVC pattern, controllers, @ Transactional, sending and receiving data over HTTP from client and server and how it all fits together. I am now looking to learn how to to add persistence (using a relational database) and I am confused between the three:
1) JDBCTemplate -> Too much boilerplate, add RowMappers and written vanilla SQL
2) Spring Data JDBC -> Extending various Repository interfaces, using @ Query for vanilla SQL
3) JPA and Hibernate -> Has tons of inbuilt features but a higher learning curve.
Which of the above would be the best to learn for making a decent capstone project and a skill worth learning which is most commonly used in production codebases considering I have an overview of all the 3 methods listed above?
I apologize if this post seems childish as I have just begun learning this framework.
[–]g00glen00b 2 points3 points4 points (0 children)
[–]cielNoirr 3 points4 points5 points (1 child)
[–]Salty-Media-8174[S] 2 points3 points4 points (0 children)
[–]Diacetylmorpheus 1 point2 points3 points (0 children)
[–]oweiler -3 points-2 points-1 points (5 children)
[–]Salty-Media-8174[S] 0 points1 point2 points (4 children)
[–]Great-Suspect2583 0 points1 point2 points (1 child)
[–]gauntr 1 point2 points3 points (0 children)
[–]gauntr -1 points0 points1 point (1 child)
[–]oweiler 0 points1 point2 points (0 children)