Skip to content

Commit e68ccde

Browse files
yrodieregavinking
andauthored
Apply suggestions from code review
Co-authored-by: Gavin King <[email protected]>
1 parent e56e073 commit e68ccde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/src/main/asciidoc/userguide/chapters/locking/Locking.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ To artificially increase the version number, see the documentation for propertie
9696

9797
[NOTE]
9898
====
99-
If the version number is generated by the database, such as a trigger, implement a custom generator by extending the OnExecutionGenerator interface, and apply it to the version attribute using a custom annotation. Refer to the Hibernate documentation for the latest guidelines on handling database-managed attributes.
99+
If the version number is generated by the database, such as a trigger, implement a custom generator by extending the `OnExecutionGenerator` interface, and apply it to the version attribute using a custom annotation.
100100
====
101101

102102
[[locking-optimistic-timestamp]]

documentation/src/main/asciidoc/userguide/chapters/pc/BytecodeEnhancement.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ which means that accessing `accountsPayableXrefId` will not force the loading of
4141

4242
[NOTE]
4343
====
44-
For existing codebases, it is recommended to remove usages of @LazyToOne, such as `@LazyToOne(LazyToOneOption.NO_PROXY)`, and instead rely on default lazy loading behavior or explicitly configure fetch strategies using @OneToOne or @ManyToOne annotations with fetch = FetchType.LAZY where necessary, such as `@OneToOne(fetch = FetchType.LAZY)`.
44+
For existing codebases, it is recommended to remove usages of @LazyToOne, such as `@LazyToOne(LazyToOneOption.NO_PROXY)`, and instead rely on default lazy loading behavior or explicitly configure fetch strategies using `@OneToOne` or `@ManyToOne` annotations with `fetch = FetchType.LAZY` where necessary, such as `@OneToOne(fetch = FetchType.LAZY)`.
4545
====
4646

4747
[[BytecodeEnhancement-dirty-tracking]]

0 commit comments

Comments
 (0)