spring data jpa 内部接口参照表
来源:互联网 发布:通关宝典考试软件 编辑:程序博客网 时间:2024/04/29 15:31
And
findByLastnameAndFirstname
… where x.lastname = ?1 and x.firstname = ?2
Or
findByLastnameOrFirstname
… where x.lastname = ?1 or x.firstname = ?2
Is,Equals
findByFirstname
,findByFirstnameIs
,findByFirstnameEquals
… where x.firstname = 1?
Between
findByStartDateBetween
… where x.startDate between 1? and ?2
LessThan
findByAgeLessThan
… where x.age < ?1
LessThanEqual
findByAgeLessThanEqual
… where x.age ⇐ ?1
GreaterThan
findByAgeGreaterThan
… where x.age > ?1
GreaterThanEqual
findByAgeGreaterThanEqual
… where x.age >= ?1
After
findByStartDateAfter
… where x.startDate > ?1
Before
findByStartDateBefore
… where x.startDate < ?1
IsNull
findByAgeIsNull
… where x.age is null
IsNotNull,NotNull
findByAge(Is)NotNull
… where x.age not null
Like
findByFirstnameLike
… where x.firstname like ?1
NotLike
findByFirstnameNotLike
… where x.firstname not like ?1
StartingWith
findByFirstnameStartingWith
… where x.firstname like ?1
(parameter bound with appended %
)
EndingWith
findByFirstnameEndingWith
… where x.firstname like ?1
(parameter bound with prepended %
)
Containing
findByFirstnameContaining
… where x.firstname like ?1
(parameter bound wrapped in %
)
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> age)
… where x.age not in ?1
True
findByActiveTrue()
… where x.active = true
False
findByActiveFalse()
… where x.active = false
IgnoreCase
findByFirstnameIgnoreCase
… where UPPER(x.firstame) = UPPER(?1)
- spring data jpa 内部接口参照表
- spring data jpa 自定义接口
- spring data jpa 自定义接口实现
- spring data jpa 定义全局接口BaseDao
- Spring Data JPA 简单查询--接口方法
- spring data jpa 自定义接口实现
- spring data jpa 定义全局接口BaseDao
- 使用spring data jpa + maven开发服务端接口
- 快速入门spring-data-jpa,接口方法详解
- Spring Data JPA(1)--Repository和CrudRepository接口
- Jpa到Spring data jpa
- spring data jpa多表查询
- Spring Data JPA
- Spring-Data-Jpa
- Spring Data JPA
- Spring data jpa
- Spring Data JPA 使用
- Spring Data JPA
- 提升【按位异或】历史地位的一帖。
- 如何用Xcode7免证书真机测试
- mybatis缓存机制
- iOS 安全攻防系列(一):获取手机联系人
- LeetCode 70:Climbing Stairs
- spring data jpa 内部接口参照表
- 什么是百度转码?如何禁止网站百度转码?
- Android消息机制基础(图多,直观)
- 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?
- 长大了,意味着没有真话可讲
- 对jdbc操作工具类JdbcUtil的简单封装与应用
- C#之DirectoryInfo操作
- C#之DirectoryInfo操作
- iOS创建静态库