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.
Try to connect two connections to the same server using two different driver versions, with the same credentials, and you will get an error saying "unable to create a new connection; the connection already exists"
Not a defect, and probably no high priority either. I don't expect much users to do this. Consider that you discovered the need for such a feature while testing an issue :-)
Reassigned to new owner.
Created attachment 143615 [details] proposed patch v1 The equals routine in DatabaseConnection is/was broken - the attached patch moves the logic from toString to the equals Method. This also fixes the broken equals/hashCode contract: "DB".hashCode() and "db".hashCode() are most probably not the same, but in equals the db name and other properties were first lowercased and then compared. To allow different drivers, with same driver class, the driver name needs to taken into account while comparing (=> added into equals). To make it editable/visible I also added the driver name to the connection properties, where currently the driver _class_ only is shown.
Changing Issue type to defect, als the equals routine is broken and the current behaviour was not sane.
Patch applied in changeset http://hg.netbeans.org/core-main/rev/1ff219d7fa20 Thanks for it.