User 952e1d9361
02-06-2009 09:25:31
Hi
I have created a table in an other Oracle schema and when I try to insert a row into it I get an ORA-00600 error for the first two inserts but then it seems to 'fix itself' and behaves fine. The following script seems to reproduce the issue :
drop user test_db cascade;
create user test_db identified by test_db default tablespace users temporary tablespace temp;
grant connect,resource,unlimited tablespace,jcc_basic_role,create table, create sequence to test_db;
alter user test_db default role all;
create table test_db.structures (casnum varchar2(32), common_name varchar2(256), structure clob);
create index test_db.struct_jchem_idx on test_db.structures (structure)
indextype is jchem.jc_idxtype
parameters('tableType=anyStructures,fp_bit=2,pat_length=6,fp_size=24');
Insert into TEST_DB.STRUCTURES (CASNUM,COMMON_NAME,STRUCTURE) values ('58-08-2','Caffeine','CN1C=NC2=C1C(=O)N(C)C(=O)N2C');
The insert will fail with :
Error starting at line 1 in command:
Insert into TEST_DB.STRUCTURES (CASNUM,COMMON_NAME,STRUCTURE) values ('58-08-2','Caffeine','CN1C=NC2=C1C(=O)N(C)C(=O)N2C')
Error report:
SQL Error: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29532: Java call terminated by uncaught Java exception: oracle.jdbc.driver.OracleSQLException: ORA-00600: internal error code, arguments: [12260], [235], [], [], [], [], [], []
ORA-06512: at "JCHEM.JCHEM_CLOB_PKG", line 113
ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 577
29875. 00000 - "failed in the execution of the ODCIINDEXINSERT routine"
*Cause: Failed to successfully execute the ODCIIndexInsert routine.
*Action: Check to see if the routine has been coded correctly.
As I say this will fail twice but then it seems OK so I can't believe I am doing something fundamentally wrong....
This is my environment :
JCHEM_CORE_PKG.GETENVIRONMENT()
------------------------------------------------------------
Oracle environment:
Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
JChem Server environment:
Java VM vendor: Sun Microsystems Inc.
Java version: 1.6.0_13
Java VM version: 11.3-b02
JChem version: 5.2.0
JChem Index version: 5020005
JDBC driver version: 11.1.0.7.0-Production