|
|
@ -299,7 +299,6 @@ public class ProcedureDataPane extends AbstractTableDataPane<StoreProcedure> imp |
|
|
|
text = StringUtils.EMPTY; |
|
|
|
text = StringUtils.EMPTY; |
|
|
|
} |
|
|
|
} |
|
|
|
text = text.trim(); |
|
|
|
text = text.trim(); |
|
|
|
String[] tableName = text.split("\\."); |
|
|
|
|
|
|
|
String connectionname = this.connectionTableProcedurePane.getSelectedDatabaseConnnectonName(); |
|
|
|
String connectionname = this.connectionTableProcedurePane.getSelectedDatabaseConnnectonName(); |
|
|
|
try { |
|
|
|
try { |
|
|
|
String procedureText = FRContext.getCurrentEnv().getProcedureText(this.connectionTableProcedurePane.getSelectedDatabaseConnnectonName(), text); |
|
|
|
String procedureText = FRContext.getCurrentEnv().getProcedureText(this.connectionTableProcedurePane.getSelectedDatabaseConnnectonName(), text); |
|
|
@ -316,7 +315,7 @@ public class ProcedureDataPane extends AbstractTableDataPane<StoreProcedure> imp |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
StoreProcedureParameter[] newparameters; |
|
|
|
StoreProcedureParameter[] newparameters; |
|
|
|
newparameters = FRContext.getCurrentEnv().getStoreProcedureDeclarationParameters(connectionname, tableName[tableName.length - 1], parameterDefaultValue); |
|
|
|
newparameters = FRContext.getCurrentEnv().getStoreProcedureDeclarationParameters(connectionname, text, parameterDefaultValue); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
editorPane.populate(newparameters); |
|
|
|
editorPane.populate(newparameters); |
|
|
|