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 - Check driver class whether is bundled in Driver jar
Summary: Check driver class whether is bundled in Driver jar
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-29 17:30 UTC by Petr Blaha
Modified: 2014-09-20 12:59 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".