Java – the difference between spring JDBC template and Hibernate
See English answers > spring hibernate vs JDBC template vs spring ORM [closed] 1
thank you
Solution
Hibernate is a huge solution with data persistence and ORM, including JPA implementation In addition, it also defines many methods, such as how to manage entities in Hibernate, how to persist, transactions, etc In Hibernate, you can use SQL, HQL or Java annotations JDBC template is just a simple tool to help you manage SQL queries and transactions It may be better described as a JDBC wrapper or helper If you prefer to manage your own database queries (SQL) or if you are a beginner, using spring jdbctemplate will help you understand how it works Even if you are developing larger applications, consider using hibernate Just be alert to hibernate's learning curve