Skip to content

Commit

Permalink
Add reference to @DatabaseValue to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hpoettker committed Sep 28, 2023
1 parent 33da482 commit 92630d2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/src/adoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,13 @@ Out of the box, Jdbi supports the following types as SQL statement arguments:
* `java.util.Collection` and Java arrays (stored as SQL arrays).
Some additional setup may be required depending on the type of array element.

[NOTE]
The binding and mapping method for enum values
can be controlled via the link:{jdbidocs}/core/enums/Enums.html[Enums^] config,
as well as the link:{jdbidocs}/core/enums/EnumByName.html[EnumByName^],
link:{jdbidocs}/core/enums/EnumByOrdinal.html[EnumByOrdinal^], and
link:{jdbidocs}/core/enums/DatabaseValue.html[DatabaseValue^] annotations.

You can also configure Jdbi to support additional argument types.
More on that later.

Expand Down Expand Up @@ -1940,8 +1947,9 @@ Out of the box, column mappers are registered for the following types:
[NOTE]
The binding and mapping method for enum values
can be controlled via the link:{jdbidocs}/core/enums/Enums.html[Enums^] config,
as well as the link:{jdbidocs}/core/enums/EnumByName.html[EnumByName^] and
link:{jdbidocs}/core/enums/EnumByOrdinal.html[EnumByOrdinal^] annotations.
as well as the link:{jdbidocs}/core/enums/EnumByName.html[EnumByName^],
link:{jdbidocs}/core/enums/EnumByOrdinal.html[EnumByOrdinal^], and
link:{jdbidocs}/core/enums/DatabaseValue.html[DatabaseValue^] annotations.


==== ColumnMapperFactory
Expand Down

0 comments on commit 92630d2

Please sign in to comment.