User 2082812c83
12-01-2007 15:18:55
Hi,
Using JChem 3.2.2 I think I have a situation where the behavior of JChemManager and jcman differs.
I am able through the JChemManager GUI to specify that when I import compounds from a smiles file into a JChem Base table that the cd_id column be populated based on the value in FIELD_0 by making this selection from the combo box next to CD_ID.
However when I try to achieve the same thing using jcman to run the same import in batch (non gui) mode with the following command:
jcman.bat -a test_table blah.smiles --connect "CD_ID=field_0" --driver oracle.jdbc.driver.OracleDriver --dburl jdbc:oracle:thin:@//myhost:myport/mydb --login myuser --password mypassword
The import succeeds BUT the CD_ID is not set based on the value in field_0 of the smiles file. I checked to make sure this was not a case sensitivity issue by trying with both field_0 and FIELD_0 in the --connect string.
Am I specifying the --connect option correctly? Any idea why jcman is not setting the cd_id based on the field_0 value in my smiles file when JChem Manager gui DOES set the cd_id as expected?
Thanks,
James
Using JChem 3.2.2 I think I have a situation where the behavior of JChemManager and jcman differs.
I am able through the JChemManager GUI to specify that when I import compounds from a smiles file into a JChem Base table that the cd_id column be populated based on the value in FIELD_0 by making this selection from the combo box next to CD_ID.
However when I try to achieve the same thing using jcman to run the same import in batch (non gui) mode with the following command:
jcman.bat -a test_table blah.smiles --connect "CD_ID=field_0" --driver oracle.jdbc.driver.OracleDriver --dburl jdbc:oracle:thin:@//myhost:myport/mydb --login myuser --password mypassword
The import succeeds BUT the CD_ID is not set based on the value in field_0 of the smiles file. I checked to make sure this was not a case sensitivity issue by trying with both field_0 and FIELD_0 in the --connect string.
Am I specifying the --connect option correctly? Any idea why jcman is not setting the cd_id based on the field_0 value in my smiles file when JChem Manager gui DOES set the cd_id as expected?
Thanks,
James