Derby db is not created correctly on initialization
---------------------------------------------------

                 Key: JUDDI-184
                 URL: https://issues.apache.org/jira/browse/JUDDI-184
             Project: jUDDI
          Issue Type: Bug
    Affects Versions: 2.0rc6
            Reporter: Kurt T Stam
            Assignee: Kurt T Stam
             Fix For: 2.0rc6


When running juddi-tomcat out-of-the-box the derby database 

1. is called juddi-derby-test-db; which we should probably change to juddi-db

2. when the first statement is executed in the RegistryEngine on line 302

CREATE TABLE BUSINESS_ENTITY
(
  BUSINESS_KEY VARCHAR(41) NOT NULL,
  AUTHORIZED_NAME VARCHAR(255) NOT NULL,
  PUBLISHER_ID VARCHAR(20) NULL,
  OPERATOR VARCHAR(255) NOT NULL,
  LAST_UPDATE TIMESTAMP NOT NULL,
  PRIMARY KEY (BUSINESS_KEY)
)

it throws the following exception:

SQL Exception: Syntax error: Encountered "NULL" at line 5, column 28.

So something is wrong when it goes to create the derby database.




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to