@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface Limit
See Paging results for usage.
Parameter must be of type int
or Integer
. If parameter is of type Integer
and
null
is passed then no limit is assumed. Single parameter can have both Limit
and Offset
but this is unlikely to be useful. Parameters marked with Limit
won't be passed to underlying ORM as query
parameters. This annotation can only be used in methods that return collection and only on one parameter.
Offset
Copyright © 2008–2017. All rights reserved.