--matthew
-----Original Message-----
Sent: Thursday, January 05, 2006 11:09 AM
Subject: Re: Help request: initial commit of detachable shopping cart object
model, some tests broken
Hi,
Why should the detach tests have their own schema?
Craig
On Jan 5, 2006, at 10:53 AM, Michael Bouschen wrote:
Hi Matthew,
maybe this has been said before.
It looks like the attach/detach tests should have their own configuration
with their own sql files etc. Then you should remove the test classes
IsDetached, SetDetachAllOnCommit and GetDetachAllOnCommit from
alltests.conf. All the tests from alltests.conf are executed against the
schema defined in schema.sql, but this schema does not include the table for
your pc classes. The only thing that is missing is including detach.conf
into configurations.list. Then the attach/detach test cases are executed as
part of the configuration detach.conf.
As an alternative the attach/detach tests could be part of alltests.conf.
Then you need to include your schema into schema.sql and there is no need
for a separate detach.conf.
In any case we do not need the detach.conf file under test/conf.
Regards Michael
Hi guys,
Sorry about not emailing a patch before committing; I didn't know that was
the protocol. I wasn't too worried, however, since much of this was new
code that didn't affect anyone else.
I have already added the missing package-derby8.orm files for both app and
ds identity. I just forgot to include them in my svn add.
I'm still having problems getting things to work, but I've done a fresh
build and will look again with your collective input. I'll let you know
what I find. Thanks for your help... <sheepish grin>
--matthew
-----Original Message-----
January 04, 2006 8:16 PM
Subject: Re: Help request: initial commit of detachable shopping cart object
model, some tests broken
Hi Matthew,
You haven't defined the schema for the shopping cart tables.
Probably the place to define the schema is in the schema0 where everything
else is defined.
Craig
On Jan 4, 2006, at 7:50 PM, Michelle Caisse wrote:
Matthew,
You are missing package-derby8.orm for the
org.apache.jdo.tck.pc.shoppingcart package. See
cause of your problem.
-- Michelle
Matthew T. Adams wrote:
Hi guys,
I added some artifacts in the name of JDO-272. Currently, only application
identity is working, and the JDOHelper test class IsDetached is broken, but
due to project config/setup/classpath issues, which probably has to do with
the fact that I'm introducing a new PC object model, schema, etc.
Can someone grab the latest, run
maven -o -Djdo.tck.cfglist installSchema
maven -o -Djdo.tck.cfglist=detach.conf runtck.jdori
and tell me what's wrong with the config?
Thanks,
Matthew
*Matthew T. Adams*
Corporate Technical Advisor & Senior Consultant
Mobile: +1 253 732 1051
Phone: +1 206 331 3833
Fax: +1 815 331 0952
P.O. Box 24163
Federal Way, WA 98093
Xcalia makes implementing SOA easy with agile business intermediation
software that combines heterogeneous data with services to easily develop
and deploy transactional composite applications. Enterprises can quickly
respond to changing business requirements and dramatically reduce the costs
of data access and service integration.
Craig Russell
P.S. A good JDO? O, Gasp!
--
Michael Bouschen [EMAIL PROTECTED] Engineering GmbH
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin
Craig Russell
P.S. A good JDO? O, Gasp!