hi
I fetched jakarta-ojb from the CVS head and did

(1) bin\build junit

I had the Oracle error
[torque-insert-sql] Executing file:
C:\eclipse\workspace\jakarta-ojb\target\src\
sql\ojbcore-schema.sql
[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 o
ne column of type LONG
[torque-insert-sql] Failed to execute: ALTER TABLE
OJB_DMAP_ENTRIES ADD CONSTRAI
NT OJB_DMAP_ENTRIES_PK PRIMARY KEY (ID)
[torque-insert-sql] java.sql.SQLException: ORA-00942:
table or view does not exi
st
[torque-insert-sql] Executing file:
C:\eclipse\workspace\jakarta-ojb\target\src\
sql\ojbtest-data.sql
[torque-insert-sql] 374 of 376 SQL statements executed
successfully

Then I manually created the Table 

CREATE TABLE OJB_DMAP_ENTRIES
(
    ID NUMBER NOT NULL,
    DMAP_ID NUMBER NOT NULL,
    KEY_OID VARCHAR2 (1024),
    VALUE_OID LONG RAW
);


ALTER TABLE OJB_DMAP_ENTRIES ADD CONSTRAINT
OJB_DMAP_ENTRIES_PK PRIMARY KEY (ID);


(2) Now I rnRan bin\build junit-no-compile-no-prepare

C:\eclipse\workspace\jakarta-ojb>bin\build
junit-no-compile-no-prepare
Buildfile: build.xml

junit-no-compile-no-prepare:
    [junit] Running org.apache.ojb.broker.AllTests
    [junit] Tests run: 179, Failures: 7, Errors: 10,
Time elapsed: 64.483 sec
    [junit] TEST org.apache.ojb.broker.AllTests FAILED
    [junit] Running org.apache.ojb.odmg.AllTests
    [junit] [BOOT] INFO: OJB.properties:
file:/C:/eclipse/workspace/jakarta-ojb/
target/test/ojb/OJB.properties
    [junit]
[org.apache.ojb.broker.accesslayer.ConnectionManagerImpl]
INFO: Roll
back was called, do rollback on current connection
oracle.jdbc.driver.OracleConn
ection@15d4273
    [junit] Tests run: 147, Failures: 7, Errors: 48,
Time elapsed: 6.43 sec
    [junit] TEST org.apache.ojb.odmg.AllTests FAILED
    [junit] Running org.apache.ojb.soda.AllTests
    [junit] [BOOT] INFO: OJB.properties:
file:/C:/eclipse/workspace/jakarta-ojb/
target/test/ojb/OJB.properties
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time
elapsed: 2.704 sec

BUILD SUCCESSFUL
Total time: 1 minute 19 seconds

As you can see, I am getting Failures and Errors, what
next?
Thanks
Ramana

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

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

Reply via email to