Skip to content

Commit ccfae94

Browse files
committed
Fix typos in sql client templates doc
Signed-off-by: Thomas Segismont <[email protected]>
1 parent 855ba24 commit ccfae94

File tree

1 file changed

+8
-8
lines changed
  • vertx-sql-client-templates/src/main/asciidoc

1 file changed

+8
-8
lines changed

vertx-sql-client-templates/src/main/asciidoc/index.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ wrapper for a `PreparedQuery`.
4040
{@link examples.TemplateExamples#queryExample}
4141
----
4242

43-
When you need to perform an insert or update operation and you do not care of the result, you can use {@link io.vertx.sqlclient.templates.SqlTemplate#forUpdate} instead:
43+
When you need to perform an insert or update operation, and you do not care of the result, you can use {@link io.vertx.sqlclient.templates.SqlTemplate#forUpdate} instead:
4444

4545
[source,$lang]
4646
----
@@ -52,7 +52,7 @@ When you need to perform an insert or update operation and you do not care of th
5252
The template syntax uses `#{XXX}` syntax where `XXX` is a valid https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.8[java identifier] string
5353
(without the keyword restriction).
5454

55-
You can use the backslash char `\` to escape any `#` character, i.e `\#{foo}` will be interpreted as `#{foo}` string without a `foo` parameter.
55+
You can use the backslash char `\` to escape any `#` character, i.e. `\#{foo}` will be interpreted as `#{foo}` string without a `foo` parameter.
5656

5757
== Row mapping
5858

@@ -151,7 +151,7 @@ Row mapping is achieved by creating a `JsonObject` using the row key/value pairs
151151
{@link examples.TemplateExamples#bindingRowWithJacksonDatabind}
152152
----
153153

154-
Likewise parameters mapping is achieved by mapping the object to a `JsonObject` using {@link io.vertx.core.json.JsonObject#mapFrom}
154+
Likewise, parameters mapping is achieved by mapping the object to a `JsonObject` using {@link io.vertx.core.json.JsonObject#mapFrom}
155155
and then using the key/value pairs to produce template parameters.
156156

157157
[source,$lang]
@@ -252,12 +252,12 @@ annotationProcessor "io.vertx:vertx-codegen:${maven.version}:processor"
252252
compile "io.vertx:${maven.artifactId}:${maven.version}"
253253
----
254254

255-
IDEs usually provide usually support for annotation processors.
255+
IDEs usually provide support for annotation processors.
256256

257257
The codegen `processor` classifier adds to the jar the automatic configuration of the service proxy annotation processor
258258
via the `META-INF/services` plugin mechanism.
259259

260-
If you want you can use it too with the regular jar but you need then to declare the annotation processor
260+
If you want you can use it too with the regular jar, but you need then to declare the annotation processor
261261
explicitly, for instance in Maven:
262262

263263
[source,xml]
@@ -281,7 +281,7 @@ You can generate a row mapper by annotating your data object by {@link io.vertx.
281281
{@link examples.TemplateExamples#rowMappedDataObject}
282282
----
283283

284-
By default each column name is bound after the data object properties, e.g the `userName` property binds to
284+
By default, each column name is bound after the data object properties, e.g. the `userName` property binds to
285285
the `userName` column.
286286

287287
You can use custom names thanks to the {@link io.vertx.sqlclient.templates.annotations.Column}
@@ -310,7 +310,7 @@ You can generate a parameters mapper by annotating your data object by {@link io
310310
{@link examples.TemplateExamples#paramsMappedDataObject}
311311
----
312312

313-
By default each parameter is bound after the data object properties, e.g the `userName` property binds to
313+
By default, each parameter is bound after the data object properties, e.g. the `userName` property binds to
314314
the `userName` parameter.
315315

316316
You can use custom names thanks to the {@link io.vertx.sqlclient.templates.annotations.TemplateParameter}
@@ -332,7 +332,7 @@ The generated mapper can be used to perform param mapping like explained in <<pa
332332

333333
=== Java enum types mapping
334334

335-
You can map Java enum types when the client supports it (e.g the Reactive PostgreSQL client).
335+
You can map Java enum types when the client supports it (e.g. the Reactive PostgreSQL client).
336336

337337
Usually Java enum types are mapped to string / numbers and possibly custom database enumerated types.
338338

0 commit comments

Comments
 (0)