Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
eclipselink.deploy-on-startup to configure deployment on startup (at the creation of the
EntityManagerFactory) instead of occurring the first time an
EntityManager is created.
Table 5-31 describes this persistence property's values.
true may increase startup time of a JavaEE server, but will avoid the first request from hanging as the persistence unit is deployed.
Example 5-19 shows how to use this property in the
Example 5-19 Using deploy-on-startup in persistence.xml
<property name="eclipselink.deploy-on-startup" value="true" />
For more information, see: