Skip to content

Commit d77d440

Browse files
taeyeonkimschauder
authored andcommitted
DATAJDBC-483 - Fixes small documentation issues.
Add anchor to section on JdbcValue in reference documentation. Correct the type of `BeforeSaveEvent` in example code. Original pull request: #189.
1 parent 35b4ef6 commit d77d440

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/asciidoc/jdbc.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ Converters should be annotated with `@ReadingConverter` or `@WritingConverter` i
188188

189189
`TIMESTAMPTZ` in the example is a database specific data type that needs conversion into something more suitable for a domain model.
190190

191+
[[jdbc.entity-persistence.custom-converters.jdbc-value]]
191192
==== JdbcValue
192193

193194
Value conversion uses `JdbcValue` to enrich values propagated to JDBC operations with a `java.sql.Types` type.
@@ -572,7 +573,7 @@ For example, the following listener gets invoked before an aggregate gets saved:
572573
[source,java]
573574
----
574575
@Bean
575-
public ApplicationListener<BeforeSave> timeStampingSaveTime() {
576+
public ApplicationListener<BeforeSaveEvent> timeStampingSaveTime() {
576577
577578
return event -> {
578579

0 commit comments

Comments
 (0)