Skip to main content

Source code revision

svn

summary: Enable java2db support in JPA and CMP.
revision: 25461
author: mvatkina
date: 2009-03-17 04:45:36 UTC (6 years)
message: Enable java2db support in JPA and CMP.

- Added clean(DeploymentContext) method to CMPDeployer
- All intermediate values are stored in the DeploymentContext properties, which are available in clean, and
do not require to reload DOL objects or persistence.xml.
- Set params.origin for EJBTimerService auto-deploy to that of the user app that causes it to be deployed.
This allows to treat auto-deploy as load for the java2db purpose on server restart. The only exception
is the server restart after all user applications with timeouts had been undeployed. This doesn't cause any
failures, but only a warning in the server.log.

Reviewed by Mitesh. QL and manual tests passed.

Change Path Actions
M trunk/v3/ejb/ejb-container/src/main/java/org/glassfish/ejb/startup/EjbApplication.java
M trunk/v3/ejb/ejb-container/src/main/java/org/glassfish/ejb/startup/EjbDeployer.java
M trunk/v3/ejb/ejb-internal-api/src/main/java/org/glassfish/ejb/spi/CMPDeployer.java
M trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/codegen/CMPDeployerImpl.java
M trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/Bundle.properties
M trunk/v3/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/CMPProcessor.java
M trunk/v3/persistence/common/src/main/java/org/glassfish/persistence/common/Java2DBProcessorHelper.java
A trunk/v3/persistence/common/src/main/resources
A trunk/v3/persistence/common/src/main/resources/org
A trunk/v3/persistence/common/src/main/resources/org/glassfish
A trunk/v3/persistence/common/src/main/resources/org/glassfish/persistence
A trunk/v3/persistence/common/src/main/resources/org/glassfish/persistence/common
A trunk/v3/persistence/common/src/main/resources/org/glassfish/persistence/common/LogStrings.properties
M trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/JPAApplication.java
M trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/JPADeployer.java
M trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/JPAJava2DBProcessor.java
M trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/ProviderContainerContractInfo.java
 
 
Close
loading
Please Confirm
Close