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.
[Netbeans 5.5 beta build] I created new JDBC datasource in GF and then tried used it in EJB project. In new Entity classes from DB the new datasource was avalaible but when this datasource is selected the error messages was displayed. However, user isn't noticed how and where the driver should be added. In this dialog should be a simple hint where add the driver. See screenshot.
Created attachment 30208 [details] screenshot
it would be nice to have possiblity to show the 'Add driver' dialog, but I guess that some API change is needed for that.
Already there: JDBCDriverManager.showAddDriverDialog().
*** Issue 81851 has been marked as a duplicate of this issue. ***
Upping to P2. I keep getting this error and I don't know why - I have the JDBC library in the AS domain1/lib directory, in the EJB project, I added a driver in the resources tab, I'm connected to the database in the IDE, I created the data source, resource pool and deployed the project, I can ping the pool from Glassfish's admin console... and I still keep getting the "Driver not found." error when using the New Entity Classes from Database wizard. Grrr.
Reassigning to j2ee/persistence
The right way to fix this is probably to open the New JDBC Driver dialog with the needed driver class pre-filled. But desc6 suggests that there is a bug in the Sun appserver plugin which makes it return a non-existing driver class. So for now just made the error message display the class of the missing driver and leaving open. Checking in j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Bundle.properties; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Bundle.properties,v <-- Bundle.properties new revision: 1.6; previous revision: 1.5 done Checking in j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.java,v <-- DatabaseTablesPanel.java new revision: 1.11; previous revision: 1.10 done
Roumen, please try to reproduce again and post the missing driver class here, together with the class of the driver that you registered in the Database Explorer.
I cannot reproduce the original error now, sorry, I can't verify it.
The commit in desc8 lowers user impact, so downgrading to P3. Still needs to be fixed as described in desc8, not sure if for 6.0.
I am starting to think this is a P4 issue more than a P3 because of the very low user impact, but leaving as P3 for now.
Since user impact is lower now as indicated in the previous comment, low to P4
low priority bug
NetBeans.org Migration: changing resolution from LATER to WONTFIX