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.
1. Add Derby and MySQL connection. 2. Execute bunch (5 for example) of statements for MySQL DB. 3. Execute bunch (5 for example) of statements for Java DB. 4. Open "SQL History". 5. Choose only MySQL connection in "Connection" drop down list. 6. Set number of executed statements to 2. 7. Close and reopen dialog. Result: Only 2 statements are in the list and they are for Java DB. There is no MySQL connection at all.
Saving statements is a global feature, is not per connection. This is by design. If you'd like to see this then change this to a feature.
I think it will be better to have ability to set number of saved statements for every connection.
Reassigned to new owner.