This is an automated email from the ASF dual-hosted git repository. aadamchik pushed a commit to branch STABLE-4.1 in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/STABLE-4.1 by this push: new a647fc1 minor edits a647fc1 is described below commit a647fc1c135289cb233ed7b7769b3b6e88eab5ab Author: Andrus Adamchik <and...@objectstyle.com> AuthorDate: Sat Nov 2 12:33:02 2019 +0300 minor edits --- .../src/docs/asciidoc/_cayenne-guide/part2/queries/sqlscripting.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/queries/sqlscripting.adoc b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/queries/sqlscripting.adoc index 1d9ccf1..5d3ebe7 100644 --- a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/queries/sqlscripting.adoc +++ b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/queries/sqlscripting.adoc @@ -14,8 +14,8 @@ [#sqlscripting] ==== Scripting SQL Queries -A powerful feature of `SQLSelect` and `SQLExec` is that a SQL string is treated by Cayenne as a dynamic template. Before -sending it to DB as a PreparedStatement, the String is evaluated, resolving the dynamic parts. The two main scripting +A powerful feature of `SQLSelect` and `SQLExec` is that SQL string is treated by Cayenne as a dynamic template. Before +creating a PreparedStatement, the String is evaluated, resolving its dynamic parts. The two main scripting elements are "variables" (that look like `$var`) and "directives" (that look like `#directive(p1 p2 p3)`). In the discussion below we'll use both selecting and updating examples, as scripting works the same way for both `SQLSelect` and `SQLExec`.