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.
NB6: 200705221200 WS4.1: 200705180325 DnD of table onto dropdown throws: org.apache.derby.client.am.SqlException: Table/View 'APP.CUSTOMER' does not exist. Steps: 1. EE5 project 2. add basic > dropdown 3. Services Tab 4. Start jdbc:derby://localhost:1527/sample [app on APP] 5. DnD customer table onto dropdown Exception is thrown (attached)
Created attachment 42691 [details] Exception
Note: The customerDataProvider is created and SessionBean1 gets the sql statement, but if you try to edit the sql an error appears: APP.CUSTOMER: Error encountered in the query value. Tables will not display correctly. Please check the table and column names. The query shows as: SELECT * FROM APP.CUSTOMER But at the top of the screen the TAB says: jdbc:derby//localhost:1527/travel [travel on TRAVEL] which is wrong.
subcomponent should be database, not databinding
works for me. query generated is SELECT ALL "APP"."CUSTOMER"."CUSTOMER_ID", "APP"."CUSTOMER"."DISCOUNT_CODE", "APP"."CUSTOMER"."ZIP", "APP"."CUSTOMER"."NAME", "APP"."CUSTOMER"."ADDRESSLINE1", "APP"."CUSTOMER"."ADDRESSLINE2", "APP"."CUSTOMER"."CITY", "APP"."CUSTOMER"."STATE", "APP"."CUSTOMER"."PHONE", "APP"."CUSTOMER"."FAX", "APP"."CUSTOMER"."EMAIL", "APP"."CUSTOMER"."CREDIT_LIMIT" FROM APP.CUSTOMER I do notice the tab label shows the wrong connection. I can file this issue
works for me
Product Version: NetBeans IDE Dev (Build 200707270000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86; Woodstock 4.1 JSF Components Release: Build 9 200707261055 (07/27/2007) Verified - not reproduced.