improve a bit of flow by splitting a section
This commit is contained in:
parent
56591c6ff1
commit
4d6d35f132
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue