|
|
|
@ -712,7 +712,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
el: { |
|
|
|
|
type: BI.VerticalLayout.xtype, |
|
|
|
|
cls: 'bi-border-top', |
|
|
|
|
invisible: BI.parseInt(fetchSize) < 0, |
|
|
|
|
invisible: fetchSize < 0 && fetchSize !== -2, |
|
|
|
|
items: [ |
|
|
|
|
{ |
|
|
|
|
el: { |
|
|
|
@ -723,7 +723,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
$value: 'fetch-size', |
|
|
|
|
width: 300, |
|
|
|
|
allowBlank: true, |
|
|
|
|
value: fetchSize, |
|
|
|
|
value: fetchSize === -2 ? '' : fetchSize, |
|
|
|
|
watermark: 'Fetchsize', |
|
|
|
|
validationChecker: [{ |
|
|
|
|
errorText: BI.i18nText('Dec-Dcm_Connection_Check_Fetch_Size_Range'), |
|
|
|
@ -857,7 +857,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|
|
principal: this.form.principal.getValue(), |
|
|
|
|
keyPath: this.form.keyPath.getValue(), |
|
|
|
|
fetchSize: BI.parseInt(this.form.fetchSize.getValue()), |
|
|
|
|
fetchSize: BI.isEmptyString(this.form.fetchSize.getValue()) ? -2 : BI.parseInt(this.form.fetchSize.getValue()), |
|
|
|
|
connectionPoolAttr: { |
|
|
|
|
initialSize: this.form.initialSize.getValue(), |
|
|
|
|
maxActive: this.form.maxActive.getValue(), |
|
|
|
|