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 122982 - [60cat] Confirm Object Deletion when deleting driver that uses the same jdbc driver as the one already in use
Summary: [60cat] Confirm Object Deletion when deleting driver that uses the same jdbc ...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks: 152436
  Show dependency tree
 
Reported: 2007-11-28 15:11 UTC by jlaskowski
Modified: 2009-06-18 06:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlaskowski 2007-11-28 15:11:00 UTC
[ BUILD # : 200711201000 ]
[ JDK VERSION : 1.6.0_02 ]

Steps to reproduce:
1/ Define new database driver in Services window for Derby 10.3.1.4
(it uses the same driver class as Java DB that's already available in
NetBeans and which has the connection
jdbc:derby://localhost:1527/sample [app on APP])
2/ Delete the newly-created database driver => the Confirm Object
Deletion window shows up because Netbeans thinks that the driver's in
use by a connection

NetBeans complains noticing that the deleted driver might be the
driver for the already-defined connection which is not actually.
Comment 1 Peter Pis 2007-12-04 09:21:42 UTC
Reassigning to db.
Comment 2 David Vancouvering 2008-01-11 21:57:03 UTC
Sorry, reassigned the wrong bug :(
Comment 3 John Baker 2008-09-03 00:27:58 UTC
Message is erroneous, but the driver clone can still be deleted. Lowering the priority
Comment 4 Jiri Skrivanek 2009-06-17 10:42:18 UTC
Fixed.
core-main #b4c639aadfad
Comment 5 Quality Engineering 2009-06-18 06:58:15 UTC
Integrated into 'main-golden', will be available in build *200906180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b4c639aadfad
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #122982 - Warning message improved. Otherwise it is intended to check whether existing connection uses class from deleted driver. Connections are not tied to a particular driver.