Although not novice, I am trying to learn spring framework (again!) in order to be sure that I really understand this. I have got fair idea on core Spring (DI). Now, I am focusi
when you talk about spring + hibernate
hibernatesessionfactory, open transaction and commit. Lot of pre and post work for each operation.hibernatetemplate which internally using hibernatesessionfactory. So you dont need to care much about pre and post code while doing these operations.Now lets talk about spring + data jpa
crud repository, and spring will inject its implementation at run time.Repository interface. And can use this across the application.sql or jpql.