mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 05:04:52 +00:00
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>
|
||||
----
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user