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.

Bug 218367

Summary: Can use database for auto generating code
Product: javaee Reporter: bjornstenfeldt
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: pjiricka
Priority: P1    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description bjornstenfeldt 2012-09-14 13:04:31 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_35
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.10-b01

After installing a GlassFish server and setting it up with a database pool, there is just no way what-so-ever to generate code such as entities from database. The connections available are all wrong and any attempt to correct any of them fails. When I correct a connection, I can test it and it will work. But when I try to use it to generate code, it just kind of reset the settings I just made and ask my create a connection every single time.
Comment 1 bjornstenfeldt 2012-09-14 13:04:37 UTC
Created attachment 124367 [details]
IDE log
Comment 2 Sergey Petrov 2012-09-14 17:24:35 UTC
please reopen with gf version, project type, how pool was setup and how it was tested to work, what is happening on attemp, what is reset and when? can you generate in j2se? what is wrong with connections and what correction is required?