![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring JPA
文章平均质量分 77
limitee_god
这个作者很懒,什么都没留下…
展开
-
Spring JPA基于Maven的环境搭建
要使用Spring JPA,首先就得配置依赖包,Spring的版本为3.2.3.RELEASE(使用低版本可能只支持JPA1.X标准),JPA只是一个标准,Hibernate是一个优秀的实现,就用它吧。首先,建一个maven项目,就叫jpa吧,注意类型为pom,然后添加两个module:jpa-core,jpa-dao。jpa-dao依赖jpa-core。jpa下的pom.xml配置...原创 2013-09-02 14:29:22 · 305 阅读 · 0 评论 -
第一章,第一节,Spring Data JPA是什么
Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA based repositories. This module deals with enhanced support for JPA based data access layers. It makes it...原创 2013-10-30 10:04:22 · 71 阅读 · 0 评论 -
第二章,第一节,使用Repositories
1. Working with Spring Data RepositoriesThe goal of Spring Data repository abstraction is to significantly reduce the amount of boilerplate code required to implement data access layer...原创 2013-10-30 10:07:24 · 129 阅读 · 0 评论