User 7b0ee04e66
26-02-2007 11:39:37
Hi,
I am currently looking at Library Enumeration and using an example similar to your website
SELECT jcf_react4(reaction_smart,
'SELECT cd_smiles, molecule_id FROM amol',
'SELECT cd_smiles, molecule_id FROM amol',
null,
null,
'reactantMatching:comb outFormat:sdf productIdTag:synthesis_id '
|| 'productTable:jcprods productTableJcpt:jchemproperties '
|| 'productIdColName:synthesis_id reactionId:amide')
FROM dual;
But, in my case the molecule Ids are kept in a Number Column in Oracle, which leads to the error below
ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: The following exception has been thrown by the servlet:
Exception: Cannot handle type in field "ID": java.math.BigDecimal
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 323
ORA-06512: at "JCHEM.JCTF_REACT4", line 11
I have converted my Molecule ID Column to Varchar and it works fine.
Would it be possible to offer us the flexibility to have a different datatype for the molecule ID.
I have tried to substitute "reaction_smart" with a SQL statement which retrieves the Smarts from a database table.
But it gave me an error message.
It would give us a lot of extra flexibility if we could also select the reaction from a table.
Thanks
Catherine
I am currently looking at Library Enumeration and using an example similar to your website
SELECT jcf_react4(reaction_smart,
'SELECT cd_smiles, molecule_id FROM amol',
'SELECT cd_smiles, molecule_id FROM amol',
null,
null,
'reactantMatching:comb outFormat:sdf productIdTag:synthesis_id '
|| 'productTable:jcprods productTableJcpt:jchemproperties '
|| 'productIdColName:synthesis_id reactionId:amide')
FROM dual;
But, in my case the molecule Ids are kept in a Number Column in Oracle, which leads to the error below
ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: The following exception has been thrown by the servlet:
Exception: Cannot handle type in field "ID": java.math.BigDecimal
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 323
ORA-06512: at "JCHEM.JCTF_REACT4", line 11
I have converted my Molecule ID Column to Varchar and it works fine.
Would it be possible to offer us the flexibility to have a different datatype for the molecule ID.
I have tried to substitute "reaction_smart" with a SQL statement which retrieves the Smarts from a database table.
But it gave me an error message.
It would give us a lot of extra flexibility if we could also select the reaction from a table.
Thanks
Catherine