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.
createDatabase(...) methods do not check for the existance of a database before trying to create. As a result an odd exception occurs - "invalid userid" Request is to make sure the database doesn't exist before creating it. If a database exists then post information dialog
Posting an information dialog is not required. As long as database creation doesn't proceed if the database exists and the result is handled gracefully. I prefer not to see an exception thrown.
Not sure, I would on the opposite prefer to see a DatabaseException thrown, otherwise the method semantics gets too complicated. You must handle DatabaseException's anyway, so I guess it doesn't make calling the method harder. Do you need this fixed for 5.5?
That's fine, the exception can be handled. Since there's a method databaseExists, this request is not needed for 5.5
Now if user enter name of existing DB, button "OK" becomes disabled and it isn't possible to create double DB. Fixed.
v