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 86208

Summary: Check driver class whether is bundled in Driver jar
Product: db Reporter: Petr Blaha <blaha>
Component: CodeAssignee: Libor Fischmeistr <lfischmeistr>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Petr Blaha 2006-09-29 17:30:56 UTC
[NB 5.0 FCS]
User can add any driver class that isn't bundled in driver files.  User can make
a mistake in class driver name and then he will get error in new database
connection wizard.

We can seek driver file and check the class there.
Comment 1 Andrei Badea 2007-01-07 14:16:30 UTC
Yes, there could be a warning that the driver class could not be found in the
driver's jar file. It requires searching for all classes implementing Driver
(perhaps even indirectly), which is a time-costly operation currently performed
only on user request.

Not a defect, the New Driver dialog currently behaves as designed.
Comment 2 Jiri Rechtacek 2009-10-16 14:06:47 UTC
Reassigned to new owner.
Comment 3 matthias42 2014-09-20 12:59:00 UTC
Checked in netbeans 8.0.1 - in the "New JDBC Driver" dialog it is checked, that the choosen driver can be loaded. If not the dialog is disabled and the user gets the message "Specified class ist not a driver".