|
|
@ -296,8 +296,8 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> implemen |
|
|
|
|
|
|
|
|
|
|
|
private void refreshParameters() { |
|
|
|
private void refreshParameters() { |
|
|
|
String[] paramTexts = new String[2]; |
|
|
|
String[] paramTexts = new String[2]; |
|
|
|
paramTexts[0] = SqlUtils.tryPureSqlText(this.sqlTextPane.getText()); |
|
|
|
paramTexts[0] = SqlUtils.clearSqlComments(this.sqlTextPane.getText()); |
|
|
|
paramTexts[1] = SqlUtils.tryPureSqlText(this.pageQuery); |
|
|
|
paramTexts[1] = SqlUtils.clearSqlComments(this.pageQuery); |
|
|
|
List<ParameterProvider> existParameterList = this.editorPane.update(); |
|
|
|
List<ParameterProvider> existParameterList = this.editorPane.update(); |
|
|
|
Parameter[] ps = (existParameterList == null) ? new Parameter[0] : existParameterList.toArray(new Parameter[0]); |
|
|
|
Parameter[] ps = (existParameterList == null) ? new Parameter[0] : existParameterList.toArray(new Parameter[0]); |
|
|
|
|
|
|
|
|
|
|
|