Skip to main content

Source code revision

svn

summary: While running in embedded mode, default datasource if not specified by user will point to a dynamically created derby embedded data source
revision: 37765
author: Mitesh Meswani
date: 2010-06-15 00:42:54 UTC (5 years)
message: While running in embedded mode, default datasource if not specified by user
will point to a dynamically created derby embedded data source

Refactored code to delegate environment specific behavior to instance of ProviderContainerContractInfo
-Introduced a base class with default behavior to insulate appclient and verifier from
any such future changes.
-Pulled out server side impl of the interface into a separate file
-Introduced EmbeddedProviderContainerContractInfo
Moved default data source calculation logic to PersistenceUnitLoader from PersistenceUnitInfoImpl
This ensures that same data source to be used by java2db

Tests run:
-SQE persistnece tests
-quicklook
-Modified ejb embedded dev tests for defaulting logic while running in embedded mode
Change Path Actions
M trunk/v3/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/ProviderContainerContractInfoImpl.java
M trunk/v3/persistence/common/src/main/java/org/glassfish/persistence/common/Java2DBProcessorHelper.java
A trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/EmbeddedProviderContainerContractInfo.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/PersistenceUnitInfoImpl.java
M trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/PersistenceUnitLoader.java
M trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/ProviderContainerContractInfo.java
A trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/ProviderContainerContractInfoBase.java
A trunk/v3/persistence/jpa-connector/src/main/java/org/glassfish/persistence/jpa/ServerProviderContainerContractInfo.java
M trunk/v3/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/persistence/AVKPersistenceUnitInfoImpl.java
 
 
Close
loading
Please Confirm
Close