improve a bit of flow by splitting a section

This commit is contained in:
Gavin 2023-05-17 21:06:47 +02:00 committed by Christian Beikov
parent 56591c6ff1
commit 4d6d35f132
1 changed files with 6 additions and 2 deletions

View File

@ -84,10 +84,14 @@ When XML-based mappings are used, the `<entity>` element is used to declare an e
... ...
</entity-mappings> </entity-mappings>
---- ----
We won't have much more to say about XML-based mappings in this Introduction, since it's not our preferred way to do things. Since the `orm.xml` mapping file format defined by the JPA specification was modelled closely on the annotation-based mappings, it's usually easy to go back and forth between the two options.
But since the `orm.xml` mapping file format defined by the JPA specification was modelled closely on the annotation-based mappings, it's usually easy to go back and forth between the two options.
**** ****
We won't have much more to say about XML-based mappings in this Introduction, since it's not our preferred way to do things.
[[access-type]]
=== Access types
Each entity class has a default _access type_, either: Each entity class has a default _access type_, either:
- direct _field access_, or - direct _field access_, or