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.
I see a separation between JDBC drivers and Java libraries. I'd like to see a "use existing Java library" for the JDBC selection dialog. This would close the circle. (It seems to be that a JDBC driver can be treated as a Java library... including it's API, source, etc.)
Seems like a good idea. But what exactly do you mean by "JDBC selection dialog"? Is that the Add Driver dialog or Add Connection dialog? It would also help if you could write the scenario describing the use of a Java library as a JDBC driver. Something like: 1) Right-click the Databases node, choose the Add Connection action. 2) In the Name combo box choose the name of a Java library. etc. Note that if you use a Java library as a JDBC driver, there isnt' any information as what the driver class is, so the Add Connection dialog can't suggest the database URLs (as it does for registered JDBC drivers). Could be solved by just registering JDBC drivers based on Java libraries -- you won't have to select the JARs, just enter the driver class (or have it be determined automatically). Not sure if this is what you proposed, so please write some details.
Good afternoon! I apologize for being so vague... Here's the detail. Establishing the environment for my project, I realize that I need to add JDBC support to my project. After I'm presented the window, I'm asked for "Driver Files:.. In the Add JDBC driver window, I would like to see a new button that says "Add JAR / Files...", and the existing "Add..." changed to say "Add Library...". Similar behavior exists currently in the right-click context menu for the "Libraries..." part of the project view. The use would then have the same options they have today, with the ability to pick the driver class. I think this would "feel" more consistent, and add one more use for the Java Library feature. In addition, the auto select whould work exactly like it does today.
Thanks for the explanation, I understand now.
*** Issue 67053 has been marked as a duplicate of this issue. ***
Reassigned to new owner.