Another interesting aspect of JPA query parameters is that they do not have intrinsic value.
JPA查询参数的另一个有趣方面是它们没有内部值。
Parameter MARKER: an application may wish to call the same query multiple times, only changing specific values each time (ex: parameters sent to a stored procedure, or a value in a WHERE clause).
参数标志(PARAMETER MARKER):应用程序可能希望多次调用同一个查询,每次调用时只改变特定的值(例如,发送给存储过程的参数,或者where子句中的值)。
For parameters that come from the URI, we want to ensure that the URI actually contains a value for that parameter, either in the path (via the route dictionary) or in the query string.
对于来自uri的参数,我们希望确保URI在其路径(通过路由字典)或查询字符串中实际包含了一个用于此参数的值。
应用推荐