This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, I am running the example presented at http://testwww.netbeans.org/kb/55/customer-book.html with 5.5 beta 2. Everything goes find as expected. However, I find the following exception in the log panel of Sun Java System Application Server of the IDE: Trying to create reference for application in target server completed successfully Trying to start application in target server completed successfully JDO76614: Deployment encountered SQL Exceptions: JDO76609: Got SQLException executing statement "CREATE TABLE DISCOUNT_CODE (DISCOUNT_CODE VARCHAR(255) NOT NULL, RATE DECIMAL, PRIMARY KEY (DISCOUNT_CODE))": org.apache.derby.client.am.SqlException: Table/View 'DISCOUNT_CODE' already exists in Schema 'APP'. JDO76609: Got SQLException executing statement "CREATE TABLE CUSTOMER (CUSTOMER_ID INTEGER NOT NULL, CITY VARCHAR(255), STATE VARCHAR(255), ZIP VARCHAR(255) NOT NULL, PHONE VARCHAR(255), ADDRESSLINE1 VARCHAR(255), FAX VARCHAR(255), EMAIL VARCHAR(255), ADDRESSLINE2 VARCHAR(255), CREDIT_LIMIT INTEGER, NAME VARCHAR(255), DISCOUNT_CODE VARCHAR(255), PRIMARY KEY (CUSTOMER_ID))": org.apache.derby.client.am.SqlException: Table/View 'CUSTOMER' already exists in Schema 'APP'. Although this exception message does not prevent this application from running, it is ugly to be presented to the end user and it may become misleading when trouble shooting an app that fails to run. -Shawn Xie
both said you've already created tables you are trying to create again ... I know nothing about examples you are describing ... so reassign to more appropriate component , feel free to reassign
This does not look like an enhancement, marking as such. Please attach your persistence.xml file.
Marking as incomplete until the information requested in my previous post is provided.
No reply from submitter for a long time, closing.