Finally I could get everything working with RC4/DB2v8/JDK1.3

For benefit of others:
-Torque's db2/columns.vm seems to have a bug for type="VARBINARY".. it
generates bad SQL for "OJB_DMAP_ENTRIES"
I fixed the SQL manually...
-with JDK1.3 u need to fix import statements in two files:
      org.apache.ojb.otm.copy.{Reflective/MetaData}ObjectCopyStrategy.java

Some test cases are still failing: pasting only failed cases... if they
failed on other platforms two...

I am only suspicious about the tests related to Joins...

does anybody have any comforting remarks


=======tests-broker.txt
Testsuite: org.apache.ojb.broker.AllTests
Tests run: 247, Failures: 5, Errors: 1, Time elapsed: 61.538 sec

1.
org.apache.ojb.broker.ProductGroup
java.lang.ClassCastException: org.apache.ojb.broker.ProductGroup
      at
org.apache.ojb.broker.QueryTest.testInversePathExpression(QueryTest.java:388)
2.    FAILED
expected:<0> but was:<1>
junit.framework.AssertionFailedError: expected:<0> but was:<1>
      at
org.apache.ojb.broker.GraphTest.testMultiNonNestedJoin(GraphTest.java:179)

Testcase: testMultiNonNestedJoinTestcase: testNestedJoin took 0 sec
3.    FAILED
expected:<0> but was:<1>
junit.framework.AssertionFailedError: expected:<0> but was:<1>
      at org.apache.ojb.broker.GraphTest.testNestedJoin(GraphTest.java:165)

Testcase: testNestedJoinTestcase: testSingleJoin took 0.01 sec
4.    FAILED
expected:<0> but was:<3>
junit.framework.AssertionFailedError: expected:<0> but was:<3>
      at org.apache.ojb.broker.GraphTest.testSingleJoin(GraphTest.java:151)

Testcase: testSingleJoinTestcase: testEqualToFieldQuery took 0.01 sec
5.    FAILED
expected:<0> but was:<1>
junit.framework.AssertionFailedError: expected:<0> but was:<1>
      at
org.apache.ojb.broker.GraphTest.testEqualToFieldQuery(GraphTest.java:136)
6.    FAILED
expected:<1> but was:<0>
junit.framework.AssertionFailedError: expected:<1> but was:<0>
      at
org.apache.ojb.broker.OneToManyTest.testDeleteWithRemovalAwareCollection(OneToManyTest.java:74)
================================

=================tests-odmg.txt===========
Testsuite: org.apache.ojb.odmg.AllTests
Tests run: 160, Failures: 0, Errors: 1, Time elapsed: 16.694 sec

Testcase: testAdding took 0.19 sec
      Caused an ERROR
null
org.apache.ojb.odmg.TransactionAbortedExceptionOJB
      at
org.apache.ojb.odmg.ObjectEnvelopeTable.commit(ObjectEnvelopeTable.java:211)
      at
org.apache.ojb.odmg.TransactionImpl.doCommitOnObjects(TransactionImpl.java:342)
      at
org.apache.ojb.odmg.TransactionImpl.prepare(TransactionImpl.java:595)
      at
org.apache.ojb.odmg.TransactionImpl.commit(TransactionImpl.java:545)
      at org.apache.ojb.odmg.DMapTest.testAdding(DMapTest.java:125)
====================

thanks
akhil


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to