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. View data of person table of MySQL DB. 3. View data of person table of Java DB. 4. Open "SQL History". 5. Move cursor to both statements. Tooltip shows right statement. 6. Choose only Derby connection in "Connection" drop down list. 7. Move cursor to the statement. Result: Tooltip shows MySQL statement, since in the list of all statements it was the first.
Created attachment 63327 [details] Screenshot of wrong tooltip.
safe fix
1c89bf08692b
Integrated into 'main-golden', available in build *200808040201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/1c89bf08692b User: John Baker <jbaker@netbeans.org> Log: #138073 SQL History: Tooltip shows wrong statement
Verified with build 080804.