Unfortunately as far as I know, at this point they are known test case
failures under MySQL. You can check out the complete thread at
http://article.gmane.org/gmane.comp.jakarta.ojb.user/6878.

Eric

-----Original Message-----
From: Quoc Pham 
Sent: Sunday, June 22, 2003 10:08 AM
To: [EMAIL PROTECTED]
Subject: RC3 Test Failures with MySQL


I ran into the same problems and fixed some of them by:

- Manually changing @DATABASE_DEFAULT@ to ojb in the files:
objcore-schema.xml and objtest-schema.xml.

- Manually changing the attribute "required" to "true" for REF_FK, REFA_FK,
REFB_FK for the table REF_REPOSITORY_FK in the objtest-schema.xml:

    <table name="REF_REPOSITORY_FK">
        <column name="REP_ID" required="true" primaryKey="true"
type="INTEGER"/>
        <column name="REF_FK" required="true" type="INTEGER"
primaryKey="true"/>
        <column name="REFA_FK" required="true" type="INTEGER"
primaryKey="true"/>
        <column name="REFB_FK" required="true" type="INTEGER"
primaryKey="true"/>
        <column name="NAME" type="VARCHAR" size="100"/>
    </table>

These files are locate in the src/schema directories.

However I still got a lot of errors in the JUnit tests:

junit-no-compile-no-prepare:
    [junit] Running org.apache.ojb.broker.AllTests
    [junit] Tests run: 209, Failures: 20, Errors: 150, Time elapsed: 18.276
sec
    [junit] TEST org.apache.ojb.broker.AllTests FAILED
    [junit] Running org.apache.ojb.odmg.AllTests
    [junit] [BOOT] INFO: OJB.properties:
file:/D:/java/ojb/db-ojb-1.0.rc3/target/test/ojb/OJB.properties
    [junit] Tests run: 156, Failures: 13, Errors: 63, Time elapsed: 3.085
sec
    [junit] TEST org.apache.ojb.odmg.AllTests FAILED
    [junit] Running org.apache.ojb.soda.AllTests
    [junit] [BOOT] INFO: OJB.properties:
file:/D:/java/ojb/db-ojb-1.0.rc3/target/test/ojb/OJB.properties
    [junit] Tests run: 3, Failures: 3, Errors: 0, Time elapsed: 1.633 sec
    [junit] TEST org.apache.ojb.soda.AllTests FAILED
    [junit] Running org.apache.ojb.otm.AllTests
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.193 sec
    [junit] TEST org.apache.ojb.otm.AllTests FAILED




 I can't figure out how to respond to your posting in the mailing so if you
can please post this reply. Thanks.






DISCLAIMER: The information contained in this e-mail is, unless otherwise
indicated, confidential and is intended solely for the use of the named
addressee. Access, copying or re-use of the e-mail or any information
contained therein by any other person is not authorized. If you are not the
intended recipient please notify us immediately by returning the e-mail to
the originator.

Reply via email to