ChemAxon aa7c50abf8
10-10-2006 22:26:37
Quote: |
Hi, I'm using the latest version of the JChem cartridge and would like to do a search in order to get the structures that has a certain molecular formula. I used this query: select T72.CORP_ID from PALATIN.CHEMREG_COMPOUND T72 where jc_formulab(T72.COMPOUND) = 'C8H12' But I get this error: ORA-29902: error in executing ODCIIndexStart() routine ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: Unsupported operator: JC_FORMULAB ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 291 ORA-06512: at "JCHEM.JC_IDXTYPE_IM", line 113 What should I use instead in order to execute this type of search? And is jc_formulab not supported in the where clause of a select query? If so, what other operators are not supported in the where clause? Thanks |
Note that the operators for the transformation functions in general (jc_react, jc_standardize, jc_molconvert) are not supported after the WHERE clause.
By the way, there is a "rough-and-dirty trick" to find the operators that are supported after the WHERE clause. Execute on the command line in the root of the uncompressed JChem package:
Code: |
grep -i '\.objectname' cartridge/jchem_cart.sql |
(This is how I found out myself that jc_formula has a buddy after the WHERE clause :-) )