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 191800 - Oracle DB driver files are still shown as missing after adding them
Summary: Oracle DB driver files are still shown as missing after adding them
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P1 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-11-10 14:16 UTC by Petr Jiricka
Modified: 2010-11-15 11:52 UTC (History)
4 users (show)

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 Petr Jiricka 2010-11-10 14:16:33 UTC
1. Go to Services tab
2. Right-click on Databases and choose New Connection
3. Change driver to Oracle Thin, you will see a dialog with the driver file(s) field and a <Missing Driver Files> label. 
4. Add the requested file ojdbc6.jar

The <Missing Driver Files> label is still shown, the new driver does not appear.
When you restart the dialog, it appears correctly.
Comment 1 Jiri Rechtacek 2010-11-10 14:19:47 UTC
Weird. It had worked correctly, probably some regression after recent fixes. Will be fixed ASAP.
Comment 2 Antonin Nebuzelsky 2010-11-11 12:55:02 UTC
Should be fixed into beta today. Someone should verify before backporting.
Comment 3 Jiri Rechtacek 2010-11-11 12:55:58 UTC
core-main/rev/d26ebcc51611
Comment 4 Jiri Rechtacek 2010-11-11 16:01:46 UTC
backported to beta - releases/rev/fb14bbef157a
Comment 5 Tomas Danek 2010-11-12 11:09:44 UTC
I'll take care about verification in beta.
Comment 6 Tomas Danek 2010-11-12 12:03:33 UTC
hmm, it somehow does not work for me, maybe i miss something?

1) when i choose New Connection on Database node, i get wizard with combo, where can i choose driver (MySQL, Oracle Thin,...)
2) List of driver files (under combo) does not seem to be listening on what i choose in combo, still showing only bundled mysql driver jar.
3) when i push next, i get to connection details, where only mysql driver is available. 

Anyway, it has a workaround to add ojdbc6.jar to Oracle Thin under driver node. So it's up to discussion if we really want to have this as a beta stopper.
Comment 7 Tomas Danek 2010-11-12 12:04:29 UTC
tested build: Product Version: NetBeans IDE 7.0 Beta (Build 201011120000)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
System: Mac OS X version 10.6.4 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/tomas/.netbeans/7.0beta
Comment 8 Jiri Rechtacek 2010-11-13 14:10:01 UTC
core-main/rev/70ea74d7f5ae
Please verify. Once it's verified I backport it in NB7Beta.
Comment 9 Quality Engineering 2010-11-14 06:20:36 UTC
Integrated into 'main-golden', will be available in build *201011140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/70ea74d7f5ae
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #191800: REGRESSION in previous fix
Comment 10 Tomas Danek 2010-11-14 13:13:52 UTC
thanks, works now as expected. Product Version: NetBeans IDE Dev (Build 201011140001)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
System: Mac OS X version 10.6.4 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/Tomas/.netbeans/dev
Comment 11 Jiri Rechtacek 2010-11-14 18:42:39 UTC
Thanks. The patch was applied in beta - http://hg.netbeans.org/releases/rev/7fc16de1ea87
Comment 12 Tomas Danek 2010-11-15 11:52:07 UTC
Product Version: NetBeans IDE 7.0 Beta (Build 201011142133)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
System: Mac OS X version 10.6.4 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/tomas/.netbeans/7.0beta

verified also in beta.