The @PAGING tag currently does not allow literal values to be passed in. While this behaviour is correct according to the documentation (@PAGING(offsetVariable,fetchVariable)), allowing so could be useful in some cases.
For example when I always want to fetch the top x results, I'll have to add an hardcoded offsetVariable = 0 param next to the variable fetchVariable = x param.
The
@PAGING
tag currently does not allow literal values to be passed in. While this behaviour is correct according to the documentation (@PAGING(offsetVariable,fetchVariable)
), allowing so could be useful in some cases.For example when I always want to fetch the top
x
results, I'll have to add an hardcodedoffsetVariable = 0
param next to the variablefetchVariable = x
param.I could try to create a PR for this, if desired.