Spring Data vs Spring Data JPA vs JdbcTemplate [英] Spring Data vs Spring Data JPA vs JdbcTemplate
问题描述
我确信 Spring Data
和 Spring Data JPA
指的是相同的,但后来我在 youtube 上观看了关于 Spring Data 并且他在该教程中使用了 JdbcTemplate
.所以我在那里感到困惑.
I was confident that Spring Data
and Spring Data JPA
refers as same, but then I watched a tutorial on youtube about Spring Data and he is using JdbcTemplate
in that tutorial. So I got confused there.
我想澄清一下 Spring Data
和 JdbcTemplate
之间的区别是什么?JdbcTemplate
和 Spring Data JPA
是 Spring Data
的一部分?
I want to clarify that what is difference between Spring Data
and JdbcTemplate
? JdbcTemplate
and Spring Data JPA
are parts of Spring Data
?
推荐答案
JdbcTemplate
是 Spring 框架 本身.
Spring Data 是由多个子项目组成的项目Spring Data JPA 是这些子项目之一的项目.Spring Data 和子项目构建在 Spring 框架之上.
Spring Data is the project which consists of multiple sub-projects where Spring Data JPA is one of those sub-projects. Spring Data and the sub projects build on top of the Spring Framework.
这篇关于Spring Data vs Spring Data JPA vs JdbcTemplate的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!