Hi David,

The testsuite has been tested against HSQLDB only. So it's quite possible that certain special thing fail for certain other platforms.

This is normally nothing to worry about. Not all RDBMS/JDBC drivers support all possible features.
Just have a look at the log files in target/test and see if there are any failures in functionality that is important fopr your app.


cheers,
Thomas

David Chelimsky wrote:
I'm having trouble getting this going. Here's the deal:

- win 2k
- ant 1.4.1
- jdk 1.4.0 and 1.4.1 (same failures in both environments)
- modified build.properties as follows:
...
#profile=hsqldb
...
profile=mysql
...
- modified the urlDbalias in mysql.profile to point to my local database
- C:\dev\db-ojb-1.0.rc1>bin\build junit

Results below (just last few lines) suggest that the db setup is correct -
that ojb is able to connect to my db and execute statements, but that there
are limited failures.

Any suggestions?

****************************************************************
project-insert-sql:
[torque-insert-sql] Our new url -> jdbc:mysql://localhost:3306/cheli
[torque-insert-sql] Executing file:
C:\dev\db-ojb-1.0.rc1\target\src\sql\ojbtest-schema.sql
[torque-insert-sql] Executing file:
C:\dev\db-ojb-1.0.rc1\target\src\sql\ojbcore-schema.sql
[torque-insert-sql] Executing file:
C:\dev\db-ojb-1.0.rc1\target\src\sql\ojbtest-data.sql
[torque-insert-sql] 291 of 291 SQL statements executed successfully

junit-no-compile-no-prepare:
    [junit] Running org.apache.ojb.broker.AllTests
    [junit] Tests run: 187, Failures: 3, Errors: 3, Time elapsed: 106.643
sec
    [junit] TEST org.apache.ojb.broker.AllTests FAILED
    [junit] Running org.apache.ojb.odmg.AllTests
    [junit] [BOOT] INFO: OJB.properties:
file:/C:/dev/db-ojb-1.0.rc1/target/test/ojb/OJB.properties
    [junit] Tests run: 150, Failures: 2, Errors: 2, Time elapsed: 62.269 sec
    [junit] TEST org.apache.ojb.odmg.AllTests FAILED
    [junit] Running org.apache.ojb.soda.AllTests
    [junit] [BOOT] INFO: OJB.properties:
file:/C:/dev/db-ojb-1.0.rc1/target/test/ojb/OJB.properties
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.268 sec
****************************************************************


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





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



Reply via email to