Use the eclipselink.validation-only
persistence property to validate deployments by initializing descriptors but not connecting to the data source.
Values
Table 5-93 describes this persistence property's values.
Table 5-93 Valid Values for validation-only
Value | Description |
---|---|
|
EclipseLink will initialize the descriptors but not log in. |
|
(Default) EclipseLink will initialize the descriptors and log in. |
Usage
When setting eclipselink.validation-only
to true
, you must also configure eclipselink.target-database
with a non-Auto class name or a short name.
Examples
Example 5-97 show how to use this property in the persistence.xml
file.
Example 5-97 Using validation-only in persistence.xml
<property name="eclipselink.validation-only" value="true"/>
See Also
For more information, see: