User b60e1d3756
05-05-2010 12:55:58
Dear Support,
How can I read all the rows from the structure table using Java?
with the best regards,
Albina
User b60e1d3756
05-05-2010 12:55:58
Dear Support,
How can I read all the rows from the structure table using Java?
with the best regards,
Albina
ChemAxon e274e1bada
05-05-2010 14:52:06
Hi,
if you run a search with an empty query structure, you will get all of the structures from the table.
Example:
searcher = new JChemSearch();
searcher.setQueryStructure("");
searcher.setConnectionHandler(conHandler);
searcher.setStructureTable("cduser.structures");
searchOptions = new JChemSearchOptions();
searchOptions.setSearchType(JChemSearch.SUBSTRUCTURE);
searcher.setSearchOptions(searchOptions);
searcher.run();
Regards, Edvard
User b60e1d3756
06-05-2010 14:18:04
I works!!! Thank you!