User f90da33c79
06-03-2009 22:11:14
It's been awhile since I've using Instant JChem, so please forgive me if I'm doing something wrong. I tried to create a new connection to an Oracle database using IJC 2.4.2, but when I enter in the database information then click "Next", the following error message is displayed:
Instead of creating a new schema, I also tried connecting to an existing one, and I received the same error. I assume I'm doing something wrong, but I'm not sure what. Can you help?
Thanks!
Code: |
Error creating bean with name 'ijcPropertiesDao' defined in class path resource [com/im/df/resources/core-bean-factory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.im.df.impl.db.persist.IJCPropertiesDao]: Constructor threw exception; nested exception is org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [CREATE TABLE IJC_SCHEMA ( SCHEMA_ID VARCHAR2(32) NOT NULL, ITEM_ID VARCHAR2(32) NOT NULL, ITEM_INDEX NUMBER(6.0) NOT NULL, GENERIC_TYPE VARCHAR2(200) NOT NULL, IMPL_TYPE VARCHAR2(200) NOT NULL, PARENT_ID VARCHAR2(32), DESCRIPTION VARCHAR2(1000), ITEM_VALUE CLOB, CONSTRAINT PK_IJC_SCHEMA PRIMARY KEY (SCHEMA_ID, ITEM_ID), CONSTRAINT FK_IJC_SCHEMA_SCHEMA FOREIGN KEY (SCHEMA_ID, PARENT_ID) REFERENCES IJC_SCHEMA (SCHEMA_ID, ITEM_ID) ON DELETE CASCADE )]; nested exception is java.sql.SQLException: ORA-00955: name is already used by an existing object |
Instead of creating a new schema, I also tried connecting to an existing one, and I received the same error. I assume I'm doing something wrong, but I'm not sure what. Can you help?
Thanks!