User f50dadc210
14-12-2006 18:32:30
Hi,
I am in trouble to convert sdf files using jc_molconvertbb. Some structure files are too large, I have to use jc_molconvertbb which takes a BLOB structure and returns BLOB. The structures files are not in the database, I am using JDBC to put sdf into BLOB and pass it to jc_molconvertbb. I got the following error message.
ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: Invalid empty lob operation
ORA-06512: at "JCHEM_CARTRIDGE.JCHEM_BLOB_PKG", line 0
ORA-06512: at "JCHEM_CARTRIDGE.JCF_MOLCONVERTBB", line 7
I searched online, didn’t find any useful information about “Invalid empty lob operation”.
BTW, if the query structure comes from a table, jc_molconvertbb works well. Also in oracle document, I was told that Temporary LOBs do not support the EMPTY_BLOB or EMPTY_CLOB functions that are supported for permanent LOBs. I wonder if you could tell me that if I can use jc_molconvertbb to convert external sdf files in JDBC. If the answer is yes, would you please provide a sample code for JDBC, I already tried my best, but failed.
Any input is helpful, thanks
Bin
I am in trouble to convert sdf files using jc_molconvertbb. Some structure files are too large, I have to use jc_molconvertbb which takes a BLOB structure and returns BLOB. The structures files are not in the database, I am using JDBC to put sdf into BLOB and pass it to jc_molconvertbb. I got the following error message.
ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: Invalid empty lob operation
ORA-06512: at "JCHEM_CARTRIDGE.JCHEM_BLOB_PKG", line 0
ORA-06512: at "JCHEM_CARTRIDGE.JCF_MOLCONVERTBB", line 7
I searched online, didn’t find any useful information about “Invalid empty lob operation”.
BTW, if the query structure comes from a table, jc_molconvertbb works well. Also in oracle document, I was told that Temporary LOBs do not support the EMPTY_BLOB or EMPTY_CLOB functions that are supported for permanent LOBs. I wonder if you could tell me that if I can use jc_molconvertbb to convert external sdf files in JDBC. If the answer is yes, would you please provide a sample code for JDBC, I already tried my best, but failed.
Any input is helpful, thanks
Bin