Skip to content

Commit b0eee30

Browse files
committed
document AccessType as topical guide
1 parent 91dd2d6 commit b0eee30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

documentation/src/main/asciidoc/topical/accesstype/AccessType.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,18 @@ JPA also says that access type can be explicitly specified on an individual attr
237237
== Extensions
238238

239239
As discussed above, whether defined implicitly or explicitly, the notion of access type controls:
240+
240241
. identifying persistent attributes
241242
. locating each persistent attribute's mapping information
242243
. runtime access to each persistent attribute.
243244

244245
Regardless of implicit/explicit the following are always true:
246+
245247
* FIELD access always indicates runtime access via direct field access
246248
* PROPERTY access always indicates runtime access via getter/setter
247249

248250
In terms of default behavior:
251+
249252
* Given FIELD access, all mapping annotations are expected to be placed on the corresponding class field
250253
* Given PROPERTY access, all mapping annotations are expected to be placed on the corresponding class getter method
251254

0 commit comments

Comments
 (0)