db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@jpox.org>
Subject Re: JDO_Test tearDown
Date Tue, 28 Mar 2006 07:35:13 GMT
Some more information, having tried with Erik's recent changes to JPOX.

Take the example of configuration "schemaAttributePackage.conf".
This is passing the "javax.jdo.mapping.Schema" property as "datastoreidentity6".
In the MetaData files (for PCPoint) it is using "datastoreidentity_pkg" (where
the schema for PCPoint is actually created)

The test itself runs fine since JPOX is using "datastoreidentity_pkg" and so passes.
JDO_Test tearDown works fine on the delete of PCPoint (since that class is in
"datastoreidentity_pkg" schema)
JDO_Test tearDown is also trying to delete data from "pc/company" too ... which
doesn't have such schema MetaData settings and so these fall back to the
"datastoreidentity6" schema that was passed to the PMF. This schema doesnt exist!




--
Andy

Mime
View raw message