Hi, Bruce.
I tried running the test suite, which I had to adapt for TaminoSQL as an
additional engine.
Unfortunately I get execptions as listed beneath. As I cannot find the
according classes to compile them, please direct me what to do.
Hiran
--------------------------------------------
org.exolab.castor.mapping.MappingException: Could not find the class
jdo.TestObject2
at
org.exolab.castor.mapping.loader.MappingLoader.createDescriptor(MappingLoade
r.java:340)
at
org.exolab.castor.jdo.engine.JDOMappingLoader.createDescriptor(JDOMappingLoa
der.java:147)
at
org.exolab.castor.mapping.loader.MappingLoader.loadMapping(MappingLoader.jav
a:232)
at
org.exolab.castor.jdo.engine.JDOMappingLoader.loadMapping(JDOMappingLoader.j
ava:295)
at org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:291)
at
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegistry.
java:289)
at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:583)
at jdo.JDOCategory.getDatabase(JDOCategory.java:88)
at jdo.KeyGenGeneric.setUp(KeyGenGeneric.java:87)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:121)
at harness.CastorTestCase.run(CastorTestCase.java:134)
at junit.framework.TestSuite.runTest(TestSuite.java:157)
at junit.framework.TestSuite.run(TestSuite.java:152)
at harness.TestHarness.run(TestHarness.java:142)
at junit.framework.TestSuite.runTest(TestSuite.java:157)
at junit.framework.TestSuite.run(TestSuite.java:152)
at harness.TestHarness.run(TestHarness.java:142)
at Main.run(Main.java:164)
at junit.textui.TestRunner.doRun(TestRunner.java:74)
at junit.textui.TestRunner.run(TestRunner.java:201)
at Main.main(Main.java:238)
----- Original Message -----
From: "Bruce Snyder" <[EMAIL PROTECTED]>
To: "Hiran Chaudhuri" <[EMAIL PROTECTED]>
Cc: "castor-dev" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 6:37 PM
Subject: Re: Castor CVS and Tamino SQL
> This one time, at band camp, Hiran Chaudhuri said:
>
> HC>This time I'm tried to get the CVS version (pulled today) of Castor
running
> HC>with the Tamino SQL engine. I'll tell you what I had to change hoping
that
> HC>you might commit such changes and future versions of Castor support
Tamino
> HC>out of the box.
> HC>
> HC>1. Adapted create.sql to TaminoSQL.sql to create the database
> HC>2. Changed database.xml to use the Tamino SQL driver and my db
connection
> HC>3. Modified castor.properties to support the taminosql engine
> HC>4. Added classes TaminoSQLQueryExression and TaminoSQLFactory
> HC>5. Added the Tamino JDBC driver to the classpath (not added to this
mail)
> HC>6. Changed SQLRelationLoader to escape table and column names (and
require a
> HC>org.exolab.castor.persist.spi.PersistenceFactory in the constructor)
> HC>7. Extended FieldMolder's constructor to provide the addicional
parameter
> HC>(and require it itself)
> HC>8. Extended ClassMolder's constructor to provide the addicional
parameter
> HC>
> HC>Build and run everything, start the sample application and whoa -
success.
>
> Hiran,
>
> I have no problem committing your changes. However, before I accept
> anything, I'm curious to know if you've got another database engine
> available against which you can exeute the CTF-JDO suite of regression
> test cases. See the following for more information:
>
>
http://www.castor.org/test-framework.html#Executing-the-Castor-JDO-Test-Case
s
>
> This will verify that nothing else has been broken by your changes. If
> there is breakage, then you can fix it before sending me your changes.
>
> Also, instead of providing me the files that you changed, please create
> contextual diffs (diff -u) of the changed files. From within the castor
> dir, execute a cvs diff against your working dir and pipe the results
> to a file like so:
>
> cvs diff -u > Tamino-changes.diff
>
> Once you've determined that your changes have not broken anything
> else via the regression tests, please file a Bugzilla report
> (http://bugzilla.exolab.org/) of type enhancement and attache the diff
> file to that report.
>
> Bruce
> --
> perl -e 'print
unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev