Hi:

I am running OJB 0.9.9 with Oracle 9i (9.2.0.2). My install works OK
with HSQLDB so I feel it is relatively sane. When I try to run the junit
target
against oracle, I get the following (from target torque-insert-sql):

 Failed to execute: DROP TABLE OJB_DMAP_ENTRIES CASCADE CONSTRAINTS
[torque-insert-sql] java.sql.SQLException: ORA-00942: table or view does
not exist
[torque-insert-sql] Failed to execute: CREATE TABLE OJB_DMAP_ENTRIES (
ID NUMBER NOT NULL, DMAP_ID NUMBER NOT NULL, KEY_OID LONG RAW, VALUE_OID
LONG RAW )
[torque-insert-sql] java.sql.SQLException: ORA-01754: a table may
contain only one column of type LONG
[torque-insert-sql] Failed to execute: ALTER TABLE OJB_DMAP_ENTRIES ADD
CONSTRAINT OJB_DMAP_ENTRIES_PK PRIMARY KEY (ID)
[torque-insert-sql] java.sql.SQLException: ORA-00942: table or view does
not exist

Subsequently, target junit-no-compile-no-prepare fails with:

junit-no-compile-no-prepare:
    [junit] Running org.apache.ojb.broker.AllTests
    [junit] Tests run: 174, Failures: 0, Errors: 3, Time elapsed:
163.735 sec
    [junit] TEST org.apache.ojb.broker.AllTests FAILED
    [junit] Running org.apache.ojb.odmg.AllTests
    [junit] [BOOT] INFO: OJB.properties:
file:/home/atx/ws/tools/ojb/target/test/ojb/OJB.properties
    [junit] Tests run: 147, Failures: 5, Errors: 35, Time elapsed:
30.473 sec
    [junit] TEST org.apache.ojb.odmg.AllTests FAILED
    [junit] Running org.apache.ojb.soda.AllTests
    [junit] [BOOT] INFO: OJB.properties:
file:/home/atx/ws/tools/ojb/target/test/ojb/OJB.properties
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 9.186
sec

Looking for hints. TIA for all help.

Regards,
Al





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

Reply via email to