- 博客(3)
- 收藏
- 关注
原创 第二章,第一节,使用Repositories
1. Working with Spring Data Repositories The 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 148
原创 第一章,第一节,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 93
原创 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 310
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人