Community
Participate
Working Groups
In DTP 1.6 the Parameters tab of the SQL Results view did not appear when there were no parameters in the statement that was executed. Now the Parameters tab is there all the time, for every result. The SQL Results view should be fixed so that the Parameters tab only appears when needed.
Created attachment 169951 [details] Patch for plugin o.e.d.sqltools.result.ui
The fix is pretty simple. There is code in the class MultipleTabsGridSection in plugin org.eclipse.datatools.sqltools.result.ui that only displays the parameter tab if the parameters list in the result instance is null. There was a fix elsewhere in the code that now causes the case of no parameters to be represented by an empty parameter list rather than a null parameter list. The fix is to check for *both* null and empty parameter to determine whether or not to display the parameter tab.
Checked in fix, tagged to v201005261700