Please add LeftOpenBetween, RightOpenBetween and OpenBetween as supported query keywords [DATACMNS-1488] #1923
Labels
in: repository
Repositories abstraction
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
teclxl opened DATACMNS-1488 and commented
LeftOpenBetween, RightOpenBetween, and OpenBetween respectively represent the three conditions of
left-open and right-closed interval
,left-closed and right-open interval
, andboth open interval
. They are as supplements to Between which represent the condition ofclosed interval
. The JPQL like this:I know this is not the standard usage of JPQL or even SQL, but the three conditions are often used, and the method name is too long when combined use LessThan, LessThanEqual, GreaterThan, and GreaterThanEqual(E.g findByOpTimeGreaterThanEqualAndOpTimeLessThan)
Issue Links:
DATAJPA-1511 Add support for derived 'between' queries using Range
DATAMONGO-2072 Add support for derived 'between' queries using Range
The text was updated successfully, but these errors were encountered: