- labels: --> SQLUnit Tests
hi, executing the tests stopped me hard already at the first target "test-odi-clob", which throws an ora-03113. i tried to reproduce the test on pure sqlplus and also ended up in that error of ora-03113 (see below). pedro did his test against a 10.2.0.5, me i'm running a 10.2.0.3, which is know to be still buggy (a pre of 10.2.0.4). i might go and try the stack on at least a 10.2.0.4 the next few days. an ora-03113 is nothing to trace easily. however, this problem should nevertheless have been registered.
SQL> drop table t1;
Tabelle wurde gel÷scht.
SQL> drop table t2;
Tabelle wurde gel÷scht.
SQL> create table t2 (
2 f4 varchar2(3) primary key,
3 f5 VARCHAR2(200));
Tabelle wurde erstellt.
SQL> insert into t2 values (101,'user data1');
1 Zeile wurde erstellt.
SQL> insert into t2 values (102,'user data2');
1 Zeile wurde erstellt.
SQL> create table t1 (
2 f1 number,
3 f2 CLOB,
4 f3 varchar2(3),
5 CONSTRAINT t1_t2_fk FOREIGN KEY (f3)
6 REFERENCES t2(f4) ON DELETE cascade);
Tabelle wurde erstellt.
SQL> insert into t1 values ('1', 'ravi',101);
1 Zeile wurde erstellt.
SQL> insert into t1 values ('3', 'murthy',102);
1 Zeile wurde erstellt.
SQL> create index it1 on t1(f3) indextype is lucene.LuceneIndex
2 parameters('Analyzer:org.apache.lucene.analysis.SimpleAnalyzer;ExtraCols:f2 "f2"');
Index wurde erstellt.
SQL> alter index it1 rebuild
2 parameters('ExtraCols:f2 "f2",t2.f5 "f5";ExtraTabs:t2;WhereCondition:L$MT.f3=t2.f4');
Index wurde geõndert.
SQL> CREATE OR REPLACE TRIGGER LT$IT1
2 AFTER INSERT OR UPDATE OF f5 ON t2
3 FOR EACH ROW
4 DECLARE
5 ridlist sys.ODCIRidList;
6 BEGIN
7 SELECT ROWID
8 BULK COLLECT INTO ridlist
9 FROM T1 WHERE F3=:NEW.f4;
10 LuceneDomainIndex.enqueueChange(USER||'.IT1',ridlist,'update');
11 END;
13 /
Trigger wurde erstellt.
SQL> select lscore(1), to_char(f2) from t1 where lcontains(f3, 'f2:ravi',1) > 0;
select lscore(1), to_char(f2) from t1 where lcontains(f3, 'f2:ravi',1) > 0
*
FEHLER in Zeile 1:
ORA-03113: Unerwartetes ▄bertragungsende in Kommunikation
regards peter