db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew T. Adams" <matthew.ad...@xcalia.com>
Subject Fixed (was: RE: Help request: initial commit of detachable shopping cart object model, some tests broken)
Date Thu, 05 Jan 2006 21:27:35 GMT
I've found and fixed all errors.  Thanks to everyone for their help.  Part
of it was stupid programmer error, part was stupid configurer error (note
that I played both of those roles :) ).

My next tasks will be to just crank on more detachment tests.


>-----Original Message-----
>From: Michael Bouschen [mailto:mbo.tech@spree.de] 
>Sent: Thursday, January 05, 2006 10:53 AM
>To: jdo-dev@db.apache.org
>Subject: Re: Help request: initial commit of detachable 
>shopping cart object model, some tests broken
>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>
>>-----Original Message-----
>>From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM] 
>>Sent: Wednesday, January 04, 2006 8:16 PM
>>To: jdo-dev@db.apache.org
>>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.
>>On Jan 4, 2006, at 7:50 PM, Michelle Caisse wrote:
>>You are missing package-derby8.orm for the
>>org.apache.jdo.tck.pc.shoppingcart package.  See
>This may be the
>>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 T. Adams*
>>Corporate Technical Advisor & Senior Consultant
>>Mobile:  +1 253 732 1051
>>Phone:  +1 206 331 3833
>>Fax:  +1 815 331 0952
>>matthew.adams@xcalia.com <mailto:matthew.adams@xcalia.com>
>>P.O. Box 24163
>>Federal Way, WA  98093
>>www.xcalia.com <http://www.xcalia.com/>
>>  Xcalia makes implementing SOA easy with agile business 
>>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
>>Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>408 276-5638 mailto:Craig.Russell@sun.com
>>P.S. A good JDO? O, Gasp!
>Michael Bouschen		Tech@Spree Engineering GmbH
>mailto:mbo.tech@spree.de	http://www.tech.spree.de/
>Tel.:++49/30/235 520-33		Buelowstr. 66			
>Fax.:++49/30/2175 2012		D-10783 Berlin			

View raw message