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.
Summary: | Data source shown twice in persistence.xml design view | ||
---|---|---|---|
Product: | javaee | Reporter: | MackSix |
Component: | Persistence | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | MackSix |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Example Project
SQL to create and populate tables Screenshot |
Created attachment 152009 [details]
SQL to create and populate tables
Created attachment 152010 [details]
Screenshot
Fixed in web-main f67707586762. Integrated into 'main-silver', will be available in build *201507140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f67707586762 User: Petr Hejl <phejl@netbeans.org> Log: #250444 - Data source shown twice in persistence.xml design view |
Created attachment 152008 [details] Example Project 1. Install GlassFish 4.1 and register in Services window. 3. Create new Java DB database named "addressbook" and use attached sql file to create and populate tables 2. Open attached project in NetBeans. 3. Compile project and run it to check if it works. 4. Open persistence.xml and drop open the Data source combo box and notice jdbc/addressbook is listed twice. Expected: jdbc/addressbook is only listed one time. See attached screenshot. Product Version: NetBeans IDE Dev (Build 201502150001) Java: 1.8.0_31; Java HotSpot(TM) 64-Bit Server VM 25.31-b07 Runtime: Java(TM) SE Runtime Environment 1.8.0_31-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)