^1756206681752
@
lth_createTime
1683183023957
sname
DataSource
slabel
DataSource
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sicon
icons/database_link.png
Sdescription
#$@text#$@
<p>JDBC数据源，对应javax.sql.DataSource，可以配置连接池等。</p>

<p><strong>主要方法：</strong></p>

<ul>
	<li><strong>getDataSource</strong><br />
	返回javax.sql.DataSource对象。<br />
	&nbsp;</li>
	<li><strong>getConnection</strong><br />
	返回java.sql.Connection连接。</li>
</ul>

<p><strong>数据源配置使用的优先级</strong></p>

<ol>
	<li><strong>refDataSource</strong><br />
	如果不为空那么认为是引用的其他数据源。</li>
	<li><strong>dbDataSourceName</strong><br />
	如果不为空那么从数据库中读取相应的配置。</li>
	<li><strong>配置文件</strong><br />
	如果不为空从配置文件中读取配置。</li>
	<li><strong>本事物</strong><br />
	最后使用的是本事物的配置。</li>
</ol>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sjson_attribute
false
  @/@actions
  sname
  actions
  slabel
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sid
  actions
    @/@actions/@initOrCheck
    sname
    getDataSource
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getDataSource
    sdisableGlobalContext
    false
    sdescription
    <p>如果未初始化那么初始化连接，如果已初始化，那么检查是否有变更。</p>
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    initOrCheck
    @/@actions/@getConnection
    sname
    getConnection
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getConnection
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    getConnection
    @/@actions/@close
    sname
    close
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    close
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    close
    @/@actions/@c3p0Init
    sname
    c3p0Init
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.db.jdbc.C3p0Actions
    smethodName
    init
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    c3p0Init
    @/@actions/@c3p0Close
    sname
    c3p0Close
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.db.jdbc.C3p0Actions
    smethodName
    close
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    c3p0Close
    @/@actions/@dbcpInit
    sname
    dbcpInit
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.db.jdbc.DbcpActions
    smethodName
    init
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    dbcpInit
    @/@actions/@dbcpClose
    sname
    dbcpClose
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.db.jdbc.DbcpActions
    smethodName
    close
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    dbcpClose
    @/@actions/@getDbType
    sname
    getDbType
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getDbType
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    getDbType
    @/@actions/@getDbDataSourceThing
    sname
    getDbDataSourceThingByName
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Local
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import DBManager;

return DBManager.getDataSourceThingByName(name, actionContext);
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getDbDataSourceThing
    @/@actions/@getProperties
    sname
    getProperties
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getProperties
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getProperties
    @/@actions/@getDataSourceClassName
    sname
    getDataSourceClassName
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getDataSourceClassName
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getDataSourceClassName
    @/@actions/@HikariCPInit
    sname
    HikariCPInit
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.db.jdbc.HikariActions
    smethodName
    HikariCPInit
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    HikariCPInit
    @/@actions/@HikariCPClose
    sname
    HikariCPClose
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.db.jdbc.HikariActions
    smethodName
    HikariCPClose
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    HikariCPClose
    @/@actions/@getUrl
    sname
    getUrl_
    sattributeName
    url
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getUrl
    @/@actions/@getUserName
    sname
    getUserName_
    sattributeName
    userName
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getUserName
    @/@actions/@getPassword
    sname
    getPassword_
    sattributeName
    password
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getPassword
    @/@actions/@getDriverClass
    sname
    getDriverClass_
    sattributeName
    driver_class
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getDriverClass
    @/@actions/@execute
    sname
    execute
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Local
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import xworker.lang.util.XWorkerUtils;

import org.xmeta.Thing;

//在IDE中管理数据库，配合事物注册器使用
def ext = new Thing("xworker.swt.Widgets/@ExtendWidget");
ext.put("extendWidgetPath", "xworker.database.manager.DbTools/@mainSashForm");
ext.put("newActionContext", false);
ext.getMetadata().setPath(self.getMetadata().getPath());
ext.put("label", self.getMetadata().getLabel());

XWorkerUtils.ideOpenComposite(ext, ["dataSource": self, "fromDataSource": true]);
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    execute
    @/@actions/@init
    sname
    init
    sunimplementedException
    false
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    sid
    init
    @/@actions/@testConnection
    sname
    testConnection
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Local
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import org.eclipse.swt.SWT;

import org.eclipse.swt.widgets.MessageBox;

import org.xmeta.ActionContext;
import xworker.lang.executor.Executor;

def con = thing.doAction("getConnection", actionContext);
if(con == null){
    return "Can not get connection, no reason!";
}else{
    con.close();
    return "Test connection successfull.";
}
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdebugLog
    false
    sdescriptors
    xworker.groovy.GroovyAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sid
    testConnection
    @/@actions/@getUrl1
    sname
    getUrl
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getUrl
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sgroupDescriptor
    false
    sai_needGenerate
    false
    sai_generateType
    create
    sai_promptContainsVars
    false
    sid
    getUrl1
    @/@actions/@getUserName1
    sname
    getUserName
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getUserName
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sgroupDescriptor
    false
    sai_needGenerate
    false
    sai_generateType
    create
    sai_promptContainsVars
    false
    sid
    getUserName1
    @/@actions/@getPassword1
    sname
    getPassword
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getPassword
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sgroupDescriptor
    false
    sai_needGenerate
    false
    sai_generateType
    create
    sai_promptContainsVars
    false
    sid
    getPassword1
    @/@actions/@getDriverClass1
    sname
    getDriverClass
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.db.jdbc.DataSourceActions
    smethodName
    getDriverClass
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sgroupDescriptor
    false
    sai_needGenerate
    false
    sai_generateType
    create
    sai_promptContainsVars
    false
    sid
    getDriverClass1
  @/@name
  sname
  name
  slabel
  名称
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  name
  @/@label
  sname
  label
  slabel
  标签
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  label
  @/@configPropertiesFile
  sname
  configPropertiesFile
  slabel
  配置文件
  ssize
  60
  sgroup
  PropertiesFile
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>如果不为空，那么会从以此为文件名用Java的Properties读取，然后会以此文件中配置的参数属性替换事物本身的配置属性。</p>

<p>如果文件不存在，那么会忽略不会报错。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  configPropertiesFile
  @/@type
  sname
  type
  slabel
  类型
  sinputtype
  select
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  HikariCP
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  type
    @/@type/@c3p0
    sname
    c3p0
    slabel
    c3p0
    svalue
    c3p0
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    c3p0
    @/@type/@dbcp
    sname
    dbcp
    slabel
    dbcp
    svalue
    dbcp
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    dbcp
    @/@type/@HikariCP
    sname
    HikariCP
    svalue
    HikariCP
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    HikariCP
  @/@dbType
  sname
  dbType
  slabel
  数据库类型
  sinputtype
  select
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>derby、mysql、oracle和sqlserver2005为老的类型，新的类型为Hibernte的dialect名字。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  dbType
    @/@dbType/@derby
    sname
    derby
    svalue
    derby
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    derby
    @/@dbType/@mysql
    sname
    mysql
    svalue
    mysql
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    mysql
    @/@dbType/@oracle
    sname
    oracle
    svalue
    oracle
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    oracle
    @/@dbType/@sqlserver2005
    sname
    sqlserver2005
    svalue
    sqlserver2005
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    sqlserver2005
    @/@dbType/@DB2Dialect
    sname
    DB2
    svalue
    DB2
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DB2Dialect
    @/@dbType/@DB2400Dialect
    sname
    DB2400
    slabel
    DB2 AS/400
    svalue
    DB2400
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DB2400Dialect
    @/@dbType/@DB2390Dialect
    sname
    DB2390
    slabel
    DB2 OS390
    svalue
    DB2390
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    DB2390Dialect
    @/@dbType/@FrontBase
    sname
    FrontBase
    svalue
    FrontBase
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    FrontBase
    @/@dbType/@Firebird
    sname
    Firebird
    svalue
    Firebird
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Firebird
    @/@dbType/@Informix
    sname
    Informix
    svalue
    Informix
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Informix
    @/@dbType/@Ingres
    sname
    Ingres
    svalue
    Ingres
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Ingres
    @/@dbType/@Interbase
    sname
    Interbase
    svalue
    Interbase
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Interbase
    @/@dbType/@SQLServer
    sname
    SQLServer
    slabel
    Microsoft SQL Server
    svalue
    SQLServer
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    SQLServer
    @/@dbType/@Mckoi
    sname
    Mckoi
    slabel
    Mckoi SQL
    svalue
    Mckoi
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Mckoi
    @/@dbType/@MySQL
    sname
    MySQL
    svalue
    MySQL
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    MySQL
    @/@dbType/@MySQLInnoDB
    sname
    MySQLInnoDB
    slabel
    MySQL with InnoDB
    svalue
    MySQLInnoDB
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    MySQLInnoDB
    @/@dbType/@MySQLMyISAM
    sname
    MySQLMyISAM
    slabel
    MySQL with MyISAM
    svalue
    MySQLMyISAM
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    MySQLMyISAM
    @/@dbType/@Oracle9
    sname
    Oracle9
    slabel
    Oracle 9i/10g
    svalue
    Oracle9
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Oracle9
    @/@dbType/@PostgreSQL
    sname
    PostgreSQL
    svalue
    PostgreSQL
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    PostgreSQL
    @/@dbType/@Sybase
    sname
    Sybase
    svalue
    Sybase
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Sybase
    @/@dbType/@SybaseAnywhere
    sname
    SybaseAnywhere
    slabel
    Sybase Anywhere
    svalue
    SybaseAnywhere
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    SybaseAnywhere
    @/@dbType/@SAPDB
    sname
    SAPDB
    slabel
    SAP DB
    svalue
    SAPDB
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    SAPDB
    @/@dbType/@sqlite
    sname
    sqlite
    slabel
    Sqlite
    svalue
    sqlite
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    sqlite
    @/@dbType/@HSQL
    sname
    HSQL
    slabel
    HypersonicSQL
    svalue
    HSQL
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    HSQL
    @/@dbType/@Hive
    sname
    Hive
    slabel
    Hive
    svalue
    hive
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Hive
    @/@dbType/@Progress
    sname
    Progress
    svalue
    Progress
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Progress
    @/@dbType/@Pointbase
    sname
    Pointbase
    svalue
    Pointbase
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Pointbase
  @/@drivers
  sname
  drivers
  slabel
  驱动
  sinputtype
  select
  scolspan
  2
  sinputattrs
  onChange="selectDriver()"
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  可选驱动
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  drivers
    @/@drivers/@1
    sname
    1
    slabel
    AS/400 Driver
    svalue
    1
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    1
    @/@drivers/@14
    sname
    14
    slabel
    Derby
    svalue
    14
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    14
    @/@drivers/@2
    sname
    2
    slabel
    Firebird JCA/JDBC Driver(JayBird)
    svalue
    2
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    2
    @/@drivers/@3
    sname
    3
    slabel
    HSQLDB
    svalue
    3
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    3
    @/@drivers/@4
    sname
    4
    slabel
    Informix Driver
    svalue
    4
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    4
    @/@drivers/@5
    sname
    5
    slabel
    JDBC-ODBC Bridge
    svalue
    5
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    5
    @/@drivers/@6
    sname
    6
    slabel
    MySQL Connector/J
    svalue
    6
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    6
    @/@drivers/@17
    sname
    17
    slabel
    MySQL Connector/CJ
    svalue
    17
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sid
    17
    @/@drivers/@12
    sname
    12
    slabel
    MySQL Connector(git)
    svalue
    12
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    12
    @/@drivers/@7
    sname
    7
    slabel
    Oracle Thin Driver
    svalue
    7
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    7
    @/@drivers/@8
    sname
    8
    slabel
    PostgreSQL
    svalue
    8
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    8
    @/@drivers/@9
    sname
    9
    slabel
    SQLServer(DataDirect)
    svalue
    9
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    9
    @/@drivers/@10
    sname
    10
    slabel
    SQLServer(Microsoft)
    svalue
    10
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    10
    @/@drivers/@13
    sname
    13
    slabel
    SQLServer(Jtds)
    svalue
    13
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    13
    @/@drivers/@11
    sname
    11
    slabel
    Sybase jConnect
    svalue
    11
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    11
    @/@drivers/@121
    sname
    15
    slabel
    Sqlite
    svalue
    15
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    121
    @/@drivers/@16
    sname
    16
    slabel
    HiveDriver
    svalue
    16
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    16
    @/@drivers/@SwtObject
    sname
    SwtObject
    sdescriptors
    ,xworker.lang.MetaDescriptor3/@attribute/@SwtObject
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    SwtObject
      @/@drivers/@SwtObject/@inputExtend
      sname
      inputExtend
      sdescriptors
      ,xworker.lang.MetaDescriptor3/@attribute/@SwtObject/@inputExtend
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      inputExtend
        @/@drivers/@SwtObject/@inputExtend/@SwtObject1
        sname
        listeners
        sdescriptors
        ,xworker.swt.events.Listeners/@listeners
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_registDisabled
        false
        sth_mark
        false
        sid
        SwtObject1
          @/@drivers/@SwtObject/@inputExtend/@SwtObject1/@driversInputSelection
          sname
          driversInputSelection
          stype
          Selection
          sdescriptors
          xworker.swt.events.Listeners/@listeners/@Listener
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_registDisabled
          false
          sth_mark
          false
          sid
          driversInputSelection
            @/@drivers/@SwtObject/@inputExtend/@SwtObject1/@driversInputSelection/@GroovyAction
            sname
            GroovyAction
            sisSynchronized
            false
            sthrowException
            true
            suseOtherAction
            false
            svarScope
            Global
            sdisableGlobalContext
            false
            Scode
#$@text#$@
def drivers = [["com.ibm.as400.access.AS400JDBCDriver", "jdbc:as400://"],
               ["org.apache.derby.jdbc.EmbeddedDriver", "jdbc:derby:<dbname>;create=true"],
               ["org.firebirdsql.jdbc.FBDriver", "jdbc:firebirdsql://3050/"],
               ["org.hsqldb.jdbcDriver", "jdbc:hsqldb:hsql//9001"],
               ["com.informix.jdbc.IfxDriver", "jdbc:informix-sqli:///"],
               ["sun.jdbc.odbc.JdbcOdbcDriver", "jdbc:odbc:null"],
               ["com.mysql.jdbc.Driver", "jdbc:mysql://<ip>:3306/<dbbame>?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&autoReconnct=true"],
               ["com.mysql.cj.jdbc.Driver", "jdbc:mysql://<ip>:3306/<dbname>?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&autoReconnct=true"],
               ["org.gjt.mm.mysql.Driver", "jdbc:mysql://<ip>:3306/<dbname>?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&autoReconnct=true"],
               ["oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:@<ip>:1521/<sid>"],
               ["org.postgresql.Driver", "jdbc:postgresql:"],
               ["com.ddtek.jdbc.sqlserver.SQLServerDriver", "jdbc:datadirect:sqlserver//"],
               ["com.microsoft.jdbc.sqlserver.SQLServerDriver", "jdbc:microsoft:sqlserver//"],
               ["net.sourceforge.jtds.jdbc.Driver", "jdbc:jtds:sqlserver//<host>/<database>"],
               ["com.sybase.jdbc2.jdbc.SybDriver; com.sybase.jdbc.SybDriver", "jdbc:sybase:Tds/"],
               ["org.sqlite.JDBC", "jdbc:sqlite:<filePath>"] ,              
               ["org.apache.hive.jdbc.HiveDriver", "jdbc:hive2://<host>:21050/<database>;auth=noSasl"] 
               ];
               
def selectIndex = driversInput.getSelectionIndex() - 1;
if(selectIndex != -1){
    def driver = drivers[selectIndex];
    driver_classInput.setText(driver[0]);
    urlInput.setText(driver[1]);
}
#$@text#$@
            sinterpretationType
            Action
            screateLocalVarScope
            false
            ssaveReturn
            false
            sdebugLog
            false
            sdescriptors
            xworker.lang.actions.Actions/@GroovyAction
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_registDisabled
            false
            sth_mark
            false
            sid
            GroovyAction
  @/@driver_class
  sname
  driver_class
  slabel
  driver_class
  sinputtype
  text
  ssize
  40
  scolspan
  2
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  driver_class
  @/@url
  sname
  url
  slabel
  URL
  ssize
  40
  scolspan
  2
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  url
  @/@userName
  sname
  userName
  slabel
  用户名
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  userName
  @/@password
  sname
  password
  slabel
  密码
  sinputtype
  text
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  password
  @/@initSize
  sname
  initPoolSize
  slabel
  初始连接数
  sreadOnly
  false
  sdefault
  3
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  initSize
  @/@minSiza
  sname
  minPoolSize
  slabel
  最小连接数
  sreadOnly
  false
  sdefault
  3
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  minSiza
  @/@maxSize
  sname
  maxPoolSize
  slabel
  最大连接数
  sreadOnly
  false
  sdefault
  15
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  maxSize
  @/@maxIdleTime
  sname
  maxIdleTime
  slabel
  最大空闲时间
  sgroup
  ConnectionAge
  sreadOnly
  false
  sdefault
  0
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>Default: 0<br />
&nbsp;Seconds a Connection can remain pooled but unused before being discarded. Zero means idle connections never expire. [See &quot;Basic Pool Configuration&quot;]</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  maxIdleTime
  @/@acquireIncrement
  sname
  acquireIncrement
  slabel
  每次连接扩充个数
  sreadOnly
  false
  sdefault
  3
  sinheritDescription
  false
  sdescription
  <p>当增加连接时一次新增几个连接。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  acquireIncrement
  @/@checkoutTimeout
  sname
  checkoutTimeout
  slabel
  获取连接超时时间
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>Default: 0<br />
&nbsp;The number of milliseconds a client calling getConnection() will wait for a Connection to be checked-in or acquired when the pool is exhausted. Zero means wait indefinitely. Setting any positive value will cause the getConnection() call to time-out and break with an SQLException after the specified number of milliseconds.</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  checkoutTimeout
  @/@idleConnectionTestPeriod
  sname
  idleConnectionTestPeriod
  slabel
  空闲连接检验时间
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>Default: 0<br />
&nbsp;Seconds a Connection can remain pooled but unused before being discarded. Zero means idle connections never expire. [See &quot;Basic Pool Configuration&quot;]</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  idleConnectionTestPeriod
  @/@testOnCheckOut
  sname
  testOnCheckOut
  slabel
  检出连接时测试
  sinputtype
  truefalse
  sgroup
  Testing
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>Default: false<br />
Use only if necessary. Expensive. If true, an operation will be performed at every connection checkout to verify that the connection is valid. Better choice: verify connections periodically using idleConnectionTestPeriod. Also, setting an automaticTestTable or preferredTestQuery will usually speed up all connection tests. [See &quot;Configuring Connection Testing&quot;]</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  testOnCheckOut
  @/@testOnCheckIn
  sname
  testOnCheckIn
  slabel
  检入连接时测试
  sinputtype
  truefalse
  sgroup
  Testing
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>Default: false<br />
&nbsp;If true, an operation will be performed asynchronously at every connection checkin to verify that the connection is valid. Use in combination with idleConnectionTestPeriod for quite reliable, always asynchronous Connection testing. Also, setting an automaticTestTable or preferredTestQuery will usually speed up all connection tests. [See &quot;Configuring Connection Testing&quot;]</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  testOnCheckIn
  @/@setTestWhileIdle
  sname
  testWhileIdle
  slabel
  空闲时测试
  sinputtype
  truefalse
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  setTestWhileIdle
  @/@testSql
  sname
  testSql
  slabel
  测试SQL
  ssize
  60
  scolspan
  2
  sgroup
  Testing
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  testSql
  @/@c3p0
  sname
  c3p0
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sid
  c3p0
    @/@c3p0/@acquireIncrement
    sname
    acquireIncrement
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    acquireIncrement
    @/@c3p0/@acquireRetryAttempts
    sname
    acquireRetryAttempts
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    acquireRetryAttempts
    @/@c3p0/@acquireRetryDelay
    sname
    acquireRetryDelay
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    acquireRetryDelay
    @/@c3p0/@autoCommitOnClose
    sname
    autoCommitOnClose
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    autoCommitOnClose
    @/@c3p0/@automaticTestTable
    sname
    automaticTestTable
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    automaticTestTable
  @/@acquireRetryAttempts
  sname
  acquireRetryAttempts
  slabel
  连接尝试次数
  sgroup
  Recovery
  sreadOnly
  false
  sdefault
  30
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  acquireRetryAttempts
  @/@acquireRetryDelay
  sname
  acquireRetryDelay
  slabel
  尝试连接间隔
  sgroup
  Recovery
  sreadOnly
  false
  sdefault
  1000
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  acquireRetryDelay
  @/@breakAfterAcquireFailure
  sname
  breakAfterAcquireFailure
  slabel
  连接失败断开连接
  sinputtype
  truefalse
  sgroup
  Recovery
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  breakAfterAcquireFailure
  @/@•debugUnreturnedConnectionStackTraces
  sname
  debugUnreturnedConnectionStackTraces
  slabel
  打印未归还连接堆栈
  sinputtype
  truefalse
  sgroup
  Debug
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  •debugUnreturnedConnectionStackTraces
  @/@refDataSource
  sname
  refDataSource
  sinputtype
  dataSelector
  ssize
  60
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>如果不为空表示引用其他DataSource，此时获取DataSource从其他数据源获取。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  refDataSource
  @/@dbDataSourceName
  sname
  dbDataSourceName
  sinputtype
  openWindow
  ssize
  50
  sgroup
  DBDataSource
  sinputattrs
  xworker.swt.dataObject.AttributeDataObjectSelector/@shell|attributeName=id,relationName=dbDataSourceName,winHeight=600,winWidth=800,dataObject=xworker.database.dataobject.DataSource
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>如果不为空使用XWorker应用的DBDataSource配置的数据源，这里填入数据源的标识（name）。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  dbDataSourceName
  @/@properties
  sname
  properties
  sinputtype
  textarea
  sgroup
  PropertiesFile
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>Java properties的格式，不过不为空，配置的值会覆盖从文件中获取的值。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  properties
  @/@toolsRegistThing
  sname
  toolsRegistThing
  slabel
  注册事物
  ssize
  60
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>在数据库工具中使用，如果指定了一个事物，那么也可以显示这个指定事物的注册索引内容。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  toolsRegistThing
  @/@dialect
  sname
  dialect
  sextends
  xworker.hibernate.hibernate_configuration/@session_factory/@dialect
  sinputtype
  inputSelect
  ssize
  60
  sgroup
  Hibernate
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>Hibernate可能会用到。如果设置了覆盖默认值。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  sid
  dialect
  @/@1335
  sname
  MenuBar
  sdescriptors
  xworker.lang.MetaDescriptor3/@MenuBar
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  snotXmlAttribute
  false
  sjson_isArray
  false
  sid
  1335
    @/@1335/@1336
    sname
    DataSource
    slabel
    DataSource
    ssortWeight
    0
    sdescriptors
    xworker.lang.ThingMenuBar/@Menu
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sid
    1336
      @/@1335/@1336/@testConnection
      sname
      testConnection
      slabel
      测试连接
      sactionName
      testConnection
      sbackground
      true
      sconfirm
      false
      sshowResultMethod
      StringDialog
      sdescriptors
      xworker.lang.thingmenus.Menus/@ExecuteAction
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_noThingRegistViewer
      false
      sth_fileMonitor
      false
      sth_mark
      false
      sth_registQueryOnlySelf
      false
      snotXmlAttribute
      false
      sjson_isArray
      false
      sid
      testConnection
      @/@1335/@1336/@1338
      sname
      manageTools
      slabel
      数据库管理器
      ssortWeight
      0
      sdescriptors
      xworker.lang.ThingMenuBar/@Menu
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_noThingRegistViewer
      false
      sth_fileMonitor
      false
      sth_mark
      false
      sth_registQueryOnlySelf
      false
      snotXmlAttribute
      false
      sjson_isArray
      false
      sid
      1338
        @/@1335/@1336/@1338/@actions
        sname
        actions
        sdescriptors
        xworker.lang.Menu/@actions
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_registDisabled
        false
        sth_mark
        false
        sid
        actions
          @/@1335/@1336/@1338/@actions/@OpenShell
          sname
          doAction
          sshellPath
          xworker.database.manager.DbTools
          ssingleInstance
          false
          sanotherThread
          false
          sparameters
          currentThing
          sinterpretationType
          Self
          sattributeTemplate
          false
          schildsAttributeTemplate
          false
          svarScope
          Local
          sisSynchronized
          false
          sthrowException
          true
          screateLocalVarScope
          false
          ssaveReturn
          false
          sswitchResult
          false
          sdisableGlobalContext
          false
          sdebugLog
          false
          sdescriptors
          xworker.swt.actions.ShellActionsNew/@OpenShell
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_registDisabled
          false
          sth_mark
          false
          sid
          OpenShell
