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.
Steps to Reproduce ------------------ Create a new connection to a database (using h2 here) and specify a password but do not tick the "Remember Password" option. Complete dialog and DB will be connected, disconnect it. Reconnect. IDE does not ask for password. Restart IDE and try again. Expected Result --------------- Any connection to a DB should request the password if not specified to be remembered. Actual Result ------------- IDE remembers password in current session. In new sessions the IDE will still try to establish a connection and give an "Unable to Connect" dialog.
This is intended. h2 and sqlite are both primary considered file based databases, that are to be used embedded and both allow connections without supplying a username. This was changed in #218639 where for these two databases is opened without querying for the username/password. Feel free to suggest a different approach and reopen this.
Hmm, there's still a bug going on here. If I create a connection first with a password, then I remove the password at the database level and then when I reconnect remove the password fromt he dialog, the IDE still remembers the original password and will always present the invalid creds dialog every time. There is no way on the connection properties to change the password, just the user.