Hi experts,
I followed section 'Automatic Database Schema Capture' section from
development guide.
If I put the following section into sun-cmp-mappings.xml
...
<sun-cmp-mappings>
<sun-cmp-mapping>
<schema/>
.... entity mappings ....
</sun-cmp-mapping>
</sun-cmp-mappings>
I get the following exception during deployment
org.glassfish.deployment.common.DeploymentException: JDO74046: JDOCod
eGenerator: Caught a MappingConversionException loading or creating mapping mode
l for application 'Vger4RSV' module 'VgerCore': JDO71002: The schema file Vger4R
SV_VgerCore does not contain a table named OT_BATCH_TO_MAIN
at com.sun.jdo.spi.persistence.support.ejb.codegen.CMPDeployerImpl.deplo
y(CMPDeployerImpl.java:273)
at org.glassfish.ejb.startup.EjbDeployer.generateArtifacts(EjbDeployer.j
ava:453)
.....
Can someone shed some light on GF CMP implemenation?
TIA,
Bernhard
--
IT-Consulting Bernhard Thalmayr
- Painstaking Minds -
83620 Vagen (Munich area)
Germany