You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vertx-sql-client-template/src/main/asciidoc/index.adoc
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -199,7 +199,7 @@ A Vert.x data object is a simple Java bean class annotated with the `@DataObject
199
199
200
200
=== Code generation
201
201
202
-
Any data object annotated by {@link io.vertx.sqlclient.template.annotations.RowMapped} or {@link io.vertx.sqlclient.template.annotations.ParamsMapped}
202
+
Any data object annotated by {@link io.vertx.sqlclient.template.annotations.RowMapped} or {@link io.vertx.sqlclient.template.annotations.ParametersMapped}
203
203
will trigger the generation of a corresponding mapper class.
204
204
205
205
The _codegen_ annotation processor generates these classes at compilation time. It is a feature of the Java
@@ -284,7 +284,7 @@ The generated mapper can be used to perform row mapping like explained in <<row_
284
284
285
285
=== Parameters mapping
286
286
287
-
You can generate a parameters mapper by annotating your data object by {@link io.vertx.sqlclient.template.annotations.ParamsMapped}.
287
+
You can generate a parameters mapper by annotating your data object by {@link io.vertx.sqlclient.template.annotations.ParametersMapped}.
288
288
289
289
[source,$lang]
290
290
----
@@ -294,7 +294,7 @@ You can generate a parameters mapper by annotating your data object by {@link io
294
294
By default each parameter is bound after the data object properties, e.g the `userName` property binds to
295
295
the `userName` parameter.
296
296
297
-
You can use custom names thanks to the {@link io.vertx.sqlclient.template.annotations.TemplateParam}
297
+
You can use custom names thanks to the {@link io.vertx.sqlclient.template.annotations.TemplateParameter}
298
298
annotation.
299
299
300
300
[source,$lang]
@@ -320,9 +320,9 @@ Usually Java enum types are mapped to string / numbers and possibly custom datab
320
320
=== Naming format
321
321
322
322
The default template use the same case for parameters and columns. You can override the default names in the `Column`
323
-
and `TemplateParam` annotations and use the formatting you like.
323
+
and `TemplateParameter` annotations and use the formatting you like.
324
324
325
-
You can also configure a specific formatting case of a mapper in the `RowMapped` and `ParamsMapped` annotations:
325
+
You can also configure a specific formatting case of a mapper in the `RowMapped` and `ParametersMapped` annotations:
Copy file name to clipboardExpand all lines: vertx-sql-client-template/src/test/generated/io/vertx/sqlclient/template/MySQLDataObjectParametersMapper.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
* Mapper for {@link MySQLDataObject}.
5
5
* NOTE: This class has been automatically generated from the {@link MySQLDataObject} original class using Vert.x codegen.
Copy file name to clipboardExpand all lines: vertx-sql-client-template/src/test/generated/io/vertx/sqlclient/template/PostgreSQLDataObjectParametersMapper.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
* Mapper for {@link PostgreSQLDataObject}.
5
5
* NOTE: This class has been automatically generated from the {@link PostgreSQLDataObject} original class using Vert.x codegen.
Copy file name to clipboardExpand all lines: vertx-sql-client-template/src/test/generated/io/vertx/sqlclient/template/TestDataObjectParametersMapper.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
* Mapper for {@link TestDataObject}.
5
5
* NOTE: This class has been automatically generated from the {@link TestDataObject} original class using Vert.x codegen.
0 commit comments