PureQuery follows the rules for parameter marker syntax to determine how SQL statement parameters are mapped from the declared parameters in the annotated method's parameter list.
pureQuery遵从参数占位符语法规则来决定如何从带注释的方法的参数列表中声明的参数映射sql语句参数。
In some cases, the access path does not perform well at runtime if the statement contains host variables, parameter markers, or special registers.
某些情况下,如果语句包含主机变量、参数标记或特殊寄存器那么访问路径在运行时的性能不会很好。
We need to add one thing to this file to extend the policy definition for class instance-level authorization: an optional relationship parameter associated with a permission statement.
我们需要向这个文件添加一个东西为类实例级授权扩展策略定义:一个与许可权语句相关的可选关系参数。
As we've discussed in this article, the DB2 optimizer may choose a sub-optimal access plan when there are host variables or parameter markers in the SQL statement.
正如我们在本文讨论的,如果sql语句中存在主机变量或参数标记,那么DB 2优化器可能会选择一个次优化的存取计划。
There can be, but there is not necessarily, a one-to-one mapping of parameter markers in the SQL statement to declared parameters in the annotated method.
sql语句中的参数占位符与带注释的方法中声明的参数之间可能存在一对一的映射,但是也不一定如此。
For batch updates, a collection parameter is used vertically to execute an SQL statement more than once, with different parameter values each time.
对于批量更新,需要使用一个集合参数多次执行一条sql语句,每次执行时使用不同的参数值。
The parameter object will be used to set input values in an UPDATE statement, or WHERE clause values in a query (etc.).
这个参数对象将用于设置update语句中的输入值,或者用于设置某一查询中的where子句的值(等等)。
Use parameter markers to prepare an SQL statement once, and then reuse it many times.
只需在sql语句中使用一次参数标记,然后就可以多次重用。
The INSERT statement is prepared as usual, and its four parameter markers are set.
insert语句像平常一样准备好了,它的四个参数标志符也设置好了。
The SET EXPLAIN statement now supports an optional parameter to override the default name and location of the output file.
SETexplain语句现在支持一个可选的参数,用于覆盖输出文件的默认名称和位置。
To enable access plan reuse, rewrite the SQL statement using a parameter marker, as shown in Listing 3.
要实现访问计划重用,使用一个参数标记重写SQL语句,如 清单3 所示。
The declared parameter type for an annotated method can make a significant difference in how the SQL statement is executed.
带注释方法的声明的参数类型可以在很大程度上影响sql语句的执行。
The? (question mark) literal in the statement string is a parameter marker that represents the variable in which the result is returned.
语句字符串中的?(问号)是一个参数标识,代表用来返回结果的变量。
The parameter is passed to these functions from the SQL statement using the PASSING clause of these functions.
利用这些函数的PASSING 子句将参数从SQL语句传递给这些函数。
A parameterized SQL statement contains variables, also known as parameters (or parameter markers).
参数化sql语句包含了变量,也称作参数(或参数标记)。
Knowing the values of these parameter markers involved in the SQL statement for those applications whose statements are part of the deadlock can greatly help in resolving these issues.
知道出现死锁的应用程序中的sql语句中涉及的参数标记的值可以大大有助于解决这些问题。
The customer profile data from the HTTP request is passed as a parameter to the update statement; no modifications are needed.
来自HTTP请求的客户个人数据作为参数传递给更新语句;不需要修改。
The statement concentrator looks for SQL statements that look exactly the same except for their parameter values.
语句集中器寻找除参数值之外完全相同的sql语句。
As a general rule, add a PatternParameterDelegate statement to the constructor of each parameter class of the composed pattern.
为复合模式的每个参数类的构造函数增加PatternParameterDelegate声明已成为一种普遍规律。
The sayHello() function takes one parameter, which it outputs to the console in the following println() statement.
sayHello()函数只有一个参数,它会使用println()语句将这个参数输出到控制台。
Bind application variables to parameter markers used in a prepared statement.
将应用程序变量绑定到预备语句中的参数标记。
When using inline methods, you can invoke methods defined in the data interface and pass the SQL statement as a parameter in the invocation of a method.
当使用内联方法编程风格时,用户可以调用Data接口中定义的方法,将sql语句作为方法调用中的一个参数。
The SQL Maps framework will create a PreparedStatement instance, set any parameters using the provided parameter object, execute the statement, and build a result object from the ResultSet.
SQLMaps框架将创建一个PreparedStatement实例,使用所提供的参数对象设置所有参数、执行语句以及从ResultSet中构建一个结果对象。
The SQL statement has a parameter marker for CatalogId value.
sql语句有一个用于catalogid值的参数标志符。
The module demonstrates how to prepare an INSERT statement that contains parameter markers using the odbc_prepare() function.
该模块演示了如何使用 odbc_prepare()函数准备包含参数标志的INSERT语句。
On the other hand, if you review the INSERT statement you can see it USES five parameter markers. The fields.
另一方面,如果您查看insert语句,就可以看到它使用了5个参数标志符。
Note: The select statement specified in this example has a parameter marker called: empno.
注意:这个例子中指定的select语句有一个名为:empno的参数占位符。
As shown in Listing 5, the revised INSERT statement invokes the XMLValidate function before specifying a parameter marker for the XML data.
如清单4所示,修订后的insert语句在为XML数据指定参数标志符之前调用xmlvalidate函数。
First, we will compose a dynamic SQL statement with five parameter markers.
首先,需要构造一个具有5个参数标记的动态sql语句。
Prepare the Insert statement once, with parameter markers, and execute it multiple times.
只准备insert语句一次,在语句中使用参数标记,然后多次执行该语句。
应用推荐