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.
Using NB4.0 , JDK 5 Following the tutorial http://www.netbeans.org/kb/using-netbeans/40/dbconn.html, I found it confusing for the "Connect Using..." dialog to flip to the advanced tab after pressing OK and a successful connection is made. I'd expect more that the dialog would go away on successful connection, and the new connection node in the runtime tab to be selected. Could perhaps put some notes in the status bar. Otherwise, user may be led to believe that they have to do something on the Advanced tab.
Please confirm that this is still an issue.
Yes, I think that this is still issue in NetBeans 4.1. User is prompted in New Database Connection panel for connection properties. Then click Ok and next tab is displayed. On this panel the user is able select database schema, however select schema is disabled. The wizard should display Advanced tab only for database that are using schemas.
It sounds like this should be presented as a wizard then instead of showing two tabs. even if the db has schemas, it seems strange that the user would get the Advanced tab fronted when simply pushing the OK button.
The user is moved to the Advenced tab only on the following condition: username and password are valid, connection is established but there is no schema with the same name as username in the database. In this case the user must select schema from the list on the Advanced tab. If there exists schema with the same name as username in the database, the connect dialog is closed without moving user to the Advenced tab after pressing OK. We can probably prevent the dialog to go to the Advanced tab if there is only one schema in the database. I don't think that wizard is a good idea because the connect dialog is called from some other modules (dbschema, ejb). BTW the tabs were agreed by UI team.
There exists the following and really old spec including those TABs: http://db.netbeans.org/project/db/uispecs/DBModuleUISpec.html This automatic switching into Advanced TAB without any additional info for user why it was switched is strange. There are several possible improvements but "Create database dialog" should be improved too, because there is the same problem. First solution (and best in my opinion...if we would like to show schemas there) is to include "Select schema combobox" below checkbox "Remember password during this session" and it will be enabled only when a connection is done. And it means at the same time, there should exist Connect button...e.g. in addition to the password textfield. Next idea is to show another dialog above the first one (or after) when it's necessary. But this could look strange in a case when this connect using dialog is part of another wizard. Or another approach, but I am not sure with this...simply not to choose DB schema(s) in this dialog but later form DB tree.
Since this is as designed, it is not a defect. And there are more usability problems in the Connect dialog, see issue 68991.
Now "Advanced" tab becomes enabled only for connections with several schemes. Fixed.
Verified.