improve a bit of flow by splitting a section

This commit is contained in:
Gavin 2023-05-17 21:06:47 +02:00
parent d9a1980ee0
commit e4b14b9460
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>
----
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.
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.
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:
- direct _field access_, or