how do i import sdf file to many table?

User 05309f4af8

12-03-2009 07:00:35

how do i import sdf file to many table via jchem.db.importer class?














I used 'chemaxon.jchem.db.importer' class for import sdfile.





now, i want to import two table at same time,but i didn't found right method to resolve.


thanks!

ChemAxon 9c0afc9aaf

12-03-2009 14:31:23

Hi,





Importer does not support importing the same data into multiple tables.


You should repeat the import for the second table.





Best regards,





Szilard

User 05309f4af8

13-03-2009 04:52:52

Quote:
Hi,





Importer does not support importing the same data into multiple tables.


You should repeat the import for the second table.





Best regards,





Szilard
.Thank you for your answer.





when i use importer, i want import a part of fields in sdfile, how can i do that?





thanks!

ChemAxon e274e1bada

13-03-2009 08:31:17

Quote:
i want import a part of fields in sdfile, how can i do that?
You can use the setFieldConnections(String) method in the Importer for this.


Please read the API doc: http://www.chemaxon.com/jchem/doc/api/chemaxon/jchem/db/Importer.html


Regards, Edvard