SPRING DATA JPA 发布 1.1.0 GA RELEASED 版本

今天终于看到Spring Data JPA发布了1.1.0 Release版本,最近一直在关注该项目。Spring Data JPA能够为我们提供统一的DAO接口,其实现了对一个Entity类的基本操作,包括基本的增删查改功能、分页功能、统计功能等等。

Spring Data JPA使用非常简单,只需要定义一个DAO接口,并继承Spring Data JPA的接口类即可实现上述功能,不需要编写任何一行代码。

同时,Spring Data JPA提供了便捷的扩展功能,用于自定义数据库操作方法。

有关版本发布消息请访问:http://www.springsource.org/node/3552
主要更新:
Changes in version 1.1.0.RELEASE (2012-05-16)
---------------------------------------------
* JPA Repository can get typing of @Query annotated findXXX methods wrong (DATAJPA-169)
* SimpleJpaRepository.delete(ID id) should validate entity/record existance prior to issue delete command (DATAJPA-177)
* StackOverflowError during query parsing if repository method does nots match with a property (DATAJPA-179)
* Typos in log message when named query is used with a Pageable (DATAJPA-186)
* MergingPersistenceUnitManager potentially adds classes multiple times (DATAJPA-189)
* JpaQueryExecution started to throw NullPointerException if pageable is null (DATAJPA-201)
* Typo in reference (DATAJPA-153)
* Readme file references old Spring Data JPA version (DATAJPA-155)
* Ability to specify template when create QueryDSL JPAQuery (DATAJPA-181)
* Provide more safety in custom @Queries with named @Params (DATAJPA-185)
* Log level used for message generated with named query with a Pageable parameter lower than the actual severity of the issue (DATAJPA-187)
* MergingPersistenceUnitManager should merge mapping file locations as well (DATAJPA-190)
* Adapt changes in CrudRepository interface (DATAJPA-191)
* @Query(nativeQuery=true) can't return List<Integer> (DATAJPA-207)
* Add support for newly introduced StartingWith, EndingWith and Containing keywords (DATAJPA-180)
* Support Before and After keywords for query creation (DATAJPA-188)
* Minor typos in readme.md (DATAJPA-192)
* Upgrade to Spring Data Commons 1.3.0.RC1 (DATAJPA-193)
* Upgrade to Spring Data Commons 1.3.0.GA (DATAJPA-194)
* Upgrade to Querydsl 2.5.0 (DATAJPA-203)
* Sonar build is failing (DATAJPA-210)
* Document CDI integration (DATAJPA-211)
* Release 1.1 GA (DATAJPA-212)

猜你喜欢

转载自xianbin.iteye.com/blog/1566929