import sd file into multiple tables

User 8201cee929

27-06-2007 12:41:33

Hi,


Is there any way to import an sd file containing data that should be stored in several different tables?


I have a large sd file with lots of fields that correspond to a 'complex' db hierarchy. Lot of SD file fileds corresponds to a 'one-to-many' scheme: one structure-several identical type of property(but different values).


Can I add this hierarchy to the store process or I need to handle it another way?





Thank you


Peter

ChemAxon a3d59b832c

27-06-2007 13:40:49

Hi Peter,





It is not currently possible directly.





There will be relational data handling in the upcoming Instant JChem 2.0 version, but that will come with RDF import/export only. In a subsequent 2.x version we plan to provide simple "one structure to many data fields" relation support for SDF import (e.g. import multiple vendor catalogs into a single master-detail database), but it is further away.





I suggest to write some custom Java code for your current task. The needed classes will be:Let us know if you need further help or usage examples.





Regards,


Szabolcs

User 8201cee929

27-06-2007 13:51:08

Thank you for the hints!


peter