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在其路径(通过路由字典)或查询字符串中实际包含了一个用于此参数的值。
Lists topics for creating queries with parameters, which allow a different value to be used each time you run the query.
列出关于创建带参数的查询的主题,参数允许在每次运行查询时使用不同的值。
When you use a table-valued function you'll need to assign a value to its parameters before you can run the query.
当您使用表值函数时,需要给它的参数赋值后才能运行查询。
When you use a table-valued function you'll need to assign a value to its parameters before you can run the query.
当您使用表值函数时,需要给它的参数赋值后才能运行查询。
应用推荐