User d8da4712c1
04-06-2013 14:50:59
Hello,
I'm trying to insert using other user then Jchem owner ( new user have all necessary grants) and the I'm getting an error because it adds automaticaly the name of the schema running the resquest and adds it to my table name (I've a synonym "sub_strucutre" to kiet.sub_structure on CNFUSION), this is my func call and error msg:
DECLARE
cd_id cd_id_array;
BEGIN
cd_id := kiet.jchem_table_pkg.jc_insert('Brc1ccccc1','sub_structure','kiet.JCHEMPROPERTIES','true','false');
END;
ORA-20105: Table 'CNFUSION.sub_structure' does not exists
ORA-06512: à "KIET.JCHEM_CORE_PKG", ligne 45
ORA-06512: à "KIET.JCHEM_TABLE_PKG", ligne 23
ORA-06512: à ligne 4
when trying using another call within my php script:
DECLARE
cd_id cd_id_array;
BEGIN
cd_id := kiet.jchem_table_pkg.jc_insert(:molfile1,'kiet.sub_structure','kiet.JCHEMPROPERTIES','true','false');
END;
Warning: ociexecute(): ORA-29532: call Java stopped by uncaught Java exception : java.sql.SQLException: ORA-01031: insuffisants privileges