Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration/JPA/Defaults"
< EclipseLink | UserGuide | JPA | Basic JPA Development | Configuration
m |
m |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | = | + | {{EclipseLink_UserGuide |
+ | |info=y | ||
+ | |toc=n | ||
+ | |eclipselink=y | ||
+ | |eclipselinktype=JPA}} | ||
+ | =About the Default Configuration Values= | ||
Each annotation has a default value (consult the JPA specification for defaults). A persistence engine defines defaults that apply to the majority of applications. You only need to supply values when you want to override the default value. Therefore, having to supply a configuration value is not a requirement, but the exception to the rule. This is known as ''configuration by exception''. | Each annotation has a default value (consult the JPA specification for defaults). A persistence engine defines defaults that apply to the majority of applications. You only need to supply values when you want to override the default value. Therefore, having to supply a configuration value is not a requirement, but the exception to the rule. This is known as ''configuration by exception''. | ||
− | + | {{EclipseLink_Note | |
− | + | |note=You should be familiar with the defaults to be able to change the behavior when necessary. }} | |
+ | {{EclipseLink_Spec | ||
+ | |link=http://jcp.org/en/jsr/detail?id=220 | ||
+ | |section=Chapter 10 "Metadata Annotations" | ||
+ | }} | ||
{{EclipseLink_JPA | {{EclipseLink_JPA | ||
− | |previous=[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration/JPA/orm.xml|orm.xml]] | + | |previous=[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration/JPA/orm.xml|Specifying Object-Relational Mappings Using orm.xml]] |
− | |next=[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration/JPA/eclipselink-orm.xml|eclipselink-orm.xml]] | + | |next=[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration/JPA/eclipselink-orm.xml|Specifying EclipseLink Object-Relational Mappings Using eclipselink-orm.xml]] |
− | |up=[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration|Configuration]]}} | + | |up=[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration|Configuration]] |
+ | |version=2.2.0 DRAFT}} |
Revision as of 10:46, 19 April 2011
EclipseLink JPA
EclipseLink | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
About the Default Configuration Values
Each annotation has a default value (consult the JPA specification for defaults). A persistence engine defines defaults that apply to the majority of applications. You only need to supply values when you want to override the default value. Therefore, having to supply a configuration value is not a requirement, but the exception to the rule. This is known as configuration by exception.
Note: You should be familiar with the defaults to be able to change the behavior when necessary.
For more information, see Chapter 10 "Metadata Annotations" in the JPA Specification.