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