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 68051 - JDBCDriverManager.addDriver allows dups
Summary: JDBCDriverManager.addDriver allows dups
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 17:45 UTC by Vince Kraemer
Modified: 2013-08-01 12:53 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 Vince Kraemer 2005-11-03 17:45:13 UTC
I think it is using == instead of equals to determine whether a Driver should be
added.

Either that or JDBCDriver.equals() could do a more complete check for "equality".

Note: ConnectionManager.addConnection() seems to do "the right thing".
Comment 1 Jiri Rechtacek 2009-10-16 14:13:23 UTC
Reassigned to new owner.