使用新的数据访问技术
支持关系数据
支持非关系数据
支持map-reduce框架
支持基于云计算的数据服务
改进了对关系型的数据库的支持
开源
对于不同类型数据库都有对应的子项目
Keyword | Sample | JPQL snippet |
And | findByLastnameAndFirstname | where x.lastname = ?1 and x.firstname = ?2 |
Or | findByLastnameOrFirstname | where x.lastname = ?1 or x.firstname = ?2 |
Between | findByStartDateBetween | where x.startDate between 1? And ?2 |
LessThan | findByAgeLessThan | where x.age < ?1 |
GreaterThan | findByAgeGreaterThan | where x.age > ?1 |
IsNull | findByAgeIsNull | where x.age is null |
IsNotNull | findByAgeIsNotNull | where x.age is not null |
NotNull | findByAgeNotNull | where x.age is not null |
Like | findByFirstnameLike | where x.firstname like ?1 |
NotLike | findByFirstnameNotLike | where x.firstname not like ?1 |
OrderBy | findByAgeOrderByLastnameDesc | where x.age = ?1 order by x.lastname desc |
Not | findByLastnameNot | where x.lastname <> ?1 |
In | findByAgeIn(Collection<Age> ages) | where x.age in ?1 |
NotIn | findByAgeNotIn(Collection<Age> ages) | where x.age not in ?1 |
http://www.ibm.com/developerworks/cn/opensource/os-cn-spring-jpa/