|
|
@ -537,7 +537,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
cls: 'bi-border', |
|
|
|
cls: 'bi-border', |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
watermark: BI.i18nText('Dec-Dcm_Connection_Form_Place_Input'), |
|
|
|
value: validationQuery, |
|
|
|
value: api.getPlain(validationQuery || ''), |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
height: 100, |
|
|
|
height: 100, |
|
|
|
ref: (_ref: TextAreaEditor) => { |
|
|
|
ref: (_ref: TextAreaEditor) => { |
|
|
@ -788,7 +788,7 @@ export class FormJdbc extends BI.Widget { |
|
|
|
maxIdle: this.form.maxIdle.getValue(), |
|
|
|
maxIdle: this.form.maxIdle.getValue(), |
|
|
|
minIdle: this.form.minIdle.getValue(), |
|
|
|
minIdle: this.form.minIdle.getValue(), |
|
|
|
maxWait: this.form.maxWait.getValue(), |
|
|
|
maxWait: this.form.maxWait.getValue(), |
|
|
|
validationQuery: this.form.validationQuery.getValue(), |
|
|
|
validationQuery: api.getCipher(this.form.validationQuery.getValue()), |
|
|
|
testOnBorrow: BI.size(this.form.testOnBorrow.getValue()) > 0 ? this.form.testOnBorrow.getValue()[0] : connectionPoolAttr.testOnBorrow, |
|
|
|
testOnBorrow: BI.size(this.form.testOnBorrow.getValue()) > 0 ? this.form.testOnBorrow.getValue()[0] : connectionPoolAttr.testOnBorrow, |
|
|
|
testOnReturn: BI.size(this.form.testOnReturn.getValue()) > 0 ? this.form.testOnReturn.getValue()[0] : connectionPoolAttr.testOnReturn, |
|
|
|
testOnReturn: BI.size(this.form.testOnReturn.getValue()) > 0 ? this.form.testOnReturn.getValue()[0] : connectionPoolAttr.testOnReturn, |
|
|
|
testWhileIdle: BI.size(this.form.testWhileIdle.getValue()) > 0 ? this.form.testWhileIdle.getValue()[0] : connectionPoolAttr.testWhileIdle, |
|
|
|
testWhileIdle: BI.size(this.form.testWhileIdle.getValue()) > 0 ? this.form.testWhileIdle.getValue()[0] : connectionPoolAttr.testWhileIdle, |
|
|
|