I don't know why. I think I started a long time ago with a simpledetach.conf, and we had decided on one of the conference calls that we woulda separate shopping cart object model that was easy to detach. I must haveassumed "detach.conf && 'separate object model' == separate schema" withouteven realizing it.It all works now, but I guess in the process, Andy suggested that we adoptthis approach more broadly.
--matthew-----Original Message-----From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM]Sent: Thursday, January 05, 2006 11:09 AMSubject: Re: Help request: initial commit of detachable shopping cart objectmodel, some tests brokenHi,Why should the detach tests have their own schema?CraigOn 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 configurationwith their own sql files etc. Then you should remove the test classesIsDetached, SetDetachAllOnCommit and GetDetachAllOnCommit fromalltests.conf. All the tests from alltests.conf are executed against theschema defined in schema.sql, but this schema does not include the table foryour pc classes. The only thing that is missing is including detach.confinto configurations.list. Then the attach/detach test cases are executed aspart 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 needfor a separate detach.conf.In any case we do not need the detach.conf file under test/conf.Regards MichaelHi guys,Sorry about not emailing a patch before committing; I didn't know that wasthe protocol. I wasn't too worried, however, since much of this was newcode that didn't affect anyone else.I have already added the missing package-derby8.orm files for both app andds 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 freshbuild and will look again with your collective input. I'll let you knowwhat I find. Thanks for your help... <sheepish grin>--matthew-----Original Message-----From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM] Sent: Wednesday,January 04, 2006 8:16 PMSubject: Re: Help request: initial commit of detachable shopping cart objectmodel, some tests brokenHi Matthew,You haven't defined the schema for the shopping cart tables.Probably the place to define the schema is in the schema0 where everythingelse is defined.CraigOn Jan 4, 2006, at 7:50 PM, Michelle Caisse wrote:Matthew,You are missing package-derby8.orm for theorg.apache.jdo.tck.pc.shoppingcart package. Seehttp://wiki.apache.org/jdo/TechnologyCompatibilityKit#Cfg. This may be thecause of your problem.-- MichelleMatthew T. Adams wrote:Hi guys,I added some artifacts in the name of JDO-272. Currently, only applicationidentity is working, and the JDOHelper test class IsDetached is broken, butdue to project config/setup/classpath issues, which probably has to do withthe fact that I'm introducing a new PC object model, schema, etc.Can someone grab the latest, runmaven -o -Djdo.tck.cfglist installSchemamaven -o -Djdo.tck.cfglist=detach.conf runtck.jdoriand tell me what's wrong with the config?Thanks,Matthew*Matthew T. Adams*Corporate Technical Advisor & Senior ConsultantMobile: +1 253 732 1051Phone: +1 206 331 3833Fax: +1 815 331 email@example.com <mailto:firstname.lastname@example.org>P.O. Box 24163Federal Way, WA 98093www.xcalia.com <http://www.xcalia.com/>Xcalia makes implementing SOA easy with agile business intermediationsoftware that combines heterogeneous data with services to easily developand deploy transactional composite applications. Enterprises can quicklyrespond to changing business requirements and dramatically reduce the costsof data access and service integration.Craig RussellArchitect, Sun Java Enterprise System http://java.sun.com/products/jdo408 276-5638 mailto:Craig.Russell@sun.comP.S. A good JDO? O, Gasp!--Michael Bouschen Tech@Spree Engineering GmbHTel.:++49/30/235 520-33 Buelowstr. 66Fax.:++49/30/2175 2012 D-10783 BerlinCraig RussellArchitect, Sun Java Enterprise System http://java.sun.com/products/jdo408 276-5638 mailto:Craig.Russell@sun.comP.S. A good JDO? O, Gasp!
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!