Peter,
Methods you suggested are using the Java API which we do not want to use.
I did exactly what you had asked earlier:
call jchem_core_pkg.use_password('Manager1');
create table wombat (
id number primary key,
structure varchar2(4000)
);
insert into wombat (id, structure) values(1, 'Brc1ccccc1');
create index jcxwombat on wombat(structure) indextype is pki.jc_idxtype;
select id from wombat where jc_compare(structure, 'c1ccccc1', 't:s') = 1;
and after this when i try to use jc_insert:
declare
a cd_id_array;
begin
a := jchem_table_pkg.jc_insert('c1ccccc1','wombat','jchemproperties');
end;
I get an error:
Error report:
ORA-29532: Java call terminated by uncaught Java exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: java.sql.SQLException: Table 'JCHEM.WOMBAT' does not exist
ORA-06512: at "PKI.JCHEM_TABLE_PKG", line 30
ORA-06512: at "PKI.JCHEM_TABLE_PKG", line 20
ORA-06512: at line 4
29532. 00000 - "Java call terminated by uncaught Java exception: %s"
*Cause: A Java exception or error was signaled and could not be
resolved by the Java code.
*Action: Modify Java code, if this behavior is not intended.
Attached is the screenshot for prop table.