Skip to content

Commit fe181b2

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 4a8888e commit fe181b2

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.
@@ -608,7 +609,7 @@ For example, the following listener gets invoked before an aggregate gets saved:
608609
[source,java]
609610
----
610611
@Bean
611-
public ApplicationListener<BeforeSave> timeStampingSaveTime() {
612+
public ApplicationListener<BeforeSaveEvent> timeStampingSaveTime() {
612613
613614
return event -> {
614615

0 commit comments

Comments
 (0)