Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.5
  Go To Table Of Contents


Use eclipselink.persistencexml to specify the full resource name in which to look for the persistence XML files. If omitted, EclipseLink uses the default location: META-INF/persistence.xml.


Currently, this property is used only for the canonical model generator. In the future, it may be used for customizing weaving and application bootstrapping.


Table 5-82 describes this persistence property's values.

Table 5-82 Valid Values for persistencexml

Value Description


This property is only used by EclipseLink when it is locating the configuration file. When used within an EJB/Spring container in container managed mode the locating and reading of this file is done by the container and will not use this configuration.


See Also

For more information, see: