^1682384846733
@
sname
hibernate_configuration
slabel
hibernate_configuration
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sformNoLabel
false
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
Hibernate配置文件。<br />
<br />
配置文件的名称是数据库配置的名称，通过配置文件生成Hibernate实际配置时是到&lt;dataCenterPath&gt;/worker/hibernate/&lt;cfgName&gt;下。<br />
<br />
可以通过指定数据对象集合来指定需要生成的Hibernate映射。
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
  @/@name
  sname
  name
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  name
  @/@jndiName
  sname
  jndiName
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  jndiName
  @/@session_factory
  sname
  session_factory
  slabel
  session-factory
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  session_factory
    @/@session_factory/@name
    sname
    name
    slabel
    name
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@session_factory/@dialect
    sname
    dialect
    sinputtype
    inputSelect
    sshowLabel
    true
    slabelAlign
    right
    slabelVAlign
    baseline
    smodifier
    public
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    The classname of a Hibernate Dialect which allows Hibernate to generate SQL optimized for a particular relational database.
    svalidateAllowBlank
    true
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    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
    sjson_isArray
    false
    sgroupDescriptor
    false
    sid
    dialect
      @/@session_factory/@dialect/@CockroachDialect
      sname
      CockroachDialect
      svalue
      org.hibernate.dialect.CockroachDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      CockroachDialect
      @/@session_factory/@dialect/@DB2Dialect
      sname
      DB2Dialect
      svalue
      org.hibernate.dialect.DB2Dialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      DB2Dialect
      @/@session_factory/@dialect/@DB2iDialect
      sname
      DB2iDialect
      svalue
      org.hibernate.dialect.DB2iDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      DB2iDialect
      @/@session_factory/@dialect/@DB2zDialect
      sname
      DB2zDialect
      svalue
      org.hibernate.dialect.DB2zDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      DB2zDialect
      @/@session_factory/@dialect/@DerbyDialect
      sname
      DerbyDialect
      svalue
      org.hibernate.dialect.DerbyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      DerbyDialect
      @/@session_factory/@dialect/@H2Dialect
      sname
      H2Dialect
      svalue
      org.hibernate.dialect.H2Dialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      H2Dialect
      @/@session_factory/@dialect/@HANAColumnStoreDialect
      sname
      HANAColumnStoreDialect
      svalue
      org.hibernate.dialect.HANAColumnStoreDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      HANAColumnStoreDialect
      @/@session_factory/@dialect/@HANARowStoreDialect
      sname
      HANARowStoreDialect
      svalue
      org.hibernate.dialect.HANARowStoreDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      HANARowStoreDialect
      @/@session_factory/@dialect/@HSQLDialect
      sname
      HSQLDialect
      svalue
      org.hibernate.dialect.HSQLDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      HSQLDialect
      @/@session_factory/@dialect/@MariaDBDialect
      sname
      MariaDBDialect
      svalue
      org.hibernate.dialect.MariaDBDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      MariaDBDialect
      @/@session_factory/@dialect/@OracleDialect
      sname
      OracleDialect
      svalue
      org.hibernate.dialect.OracleDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      OracleDialect
      @/@session_factory/@dialect/@PostgresPlusDialect
      sname
      PostgresPlusDialect
      svalue
      org.hibernate.dialect.PostgresPlusDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      PostgresPlusDialect
      @/@session_factory/@dialect/@PostgreSQLDialect
      sname
      PostgreSQLDialect
      svalue
      org.hibernate.dialect.PostgreSQLDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      PostgreSQLDialect
      @/@session_factory/@dialect/@SpannerDialect
      sname
      SpannerDialect
      svalue
      org.hibernate.dialect.SpannerDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      SpannerDialect
      @/@session_factory/@dialect/@SQLServerDialect
      sname
      SQLServerDialect
      svalue
      org.hibernate.dialect.SQLServerDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      SQLServerDialect
      @/@session_factory/@dialect/@SybaseASEDialect
      sname
      SybaseASEDialect
      svalue
      org.hibernate.dialect.SybaseASEDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      SybaseASEDialect
      @/@session_factory/@dialect/@SybaseDialect
      sname
      SybaseDialect
      svalue
      org.hibernate.dialect.SybaseDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      SybaseDialect
      @/@session_factory/@dialect/@iDBDialect
      sname
      iDBDialect
      svalue
      Torg.hibernate.dialect.iDBDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      iDBDialect
      @/@session_factory/@dialect/@Community-CacheDialect
      sname
      Community-CacheDialect
      svalue
      org.hibernate.community.dialect.CacheDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-CacheDialect
      @/@session_factory/@dialect/@Community-CUBRIDDialect
      sname
      Community-CUBRIDDialect
      svalue
      org.hibernate.community.dialect.CUBRIDDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-CUBRIDDialect
      @/@session_factory/@dialect/@Community-DB2iLegacyDialect
      sname
      Community-DB2iLegacyDialect
      svalue
      org.hibernate.community.dialect.DB2iLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-DB2iLegacyDialect
      @/@session_factory/@dialect/@Community-DB2LegacyDialect
      sname
      Community-DB2LegacyDialect
      svalue
      org.hibernate.community.dialect.DB2LegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-DB2LegacyDialect
      @/@session_factory/@dialect/@Community-DB2zLegacyDialect
      sname
      Community-DB2zLegacyDialect
      svalue
      org.hibernate.community.dialect.DB2zLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-DB2zLegacyDialect
      @/@session_factory/@dialect/@Community-DerbyLegacyDialect
      sname
      Community-DerbyLegacyDialect
      svalue
      org.hibernate.community.dialect.DerbyLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-DerbyLegacyDialect
      @/@session_factory/@dialect/@Community-FirebirdDialect
      sname
      Community-FirebirdDialect
      svalue
      org.hibernate.community.dialect.FirebirdDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-FirebirdDialect
      @/@session_factory/@dialect/@Community-H2LegacyDialect
      sname
      Community-H2LegacyDialect
      svalue
      org.hibernate.community.dialect.H2LegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-H2LegacyDialect
      @/@session_factory/@dialect/@Community-HSQLLegacyDialect
      sname
      Community-HSQLLegacyDialect
      svalue
      org.hibernate.community.dialect.HSQLLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-HSQLLegacyDialect
      @/@session_factory/@dialect/@Community-InformixDialect
      sname
      Community-InformixDialect
      svalue
      org.hibernate.community.dialect.InformixDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-InformixDialect
      @/@session_factory/@dialect/@Community-IngresDialect
      sname
      Community-IngresDialect
      svalue
      org.hibernate.community.dialect.IngresDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-IngresDialect
      @/@session_factory/@dialect/@Community-MariaDBLegacyDialect
      sname
      Community-MariaDBLegacyDialect
      svalue
      org.hibernate.community.dialect.MariaDBLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-MariaDBLegacyDialect
      @/@session_factory/@dialect/@Community-MaxDBDialect
      sname
      Community-MaxDBDialect
      svalue
      org.hibernate.community.dialect.MaxDBDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-MaxDBDialect
      @/@session_factory/@dialect/@Community-MimerSQLDialect
      sname
      Community-MimerSQLDialect
      svalue
      org.hibernate.community.dialect.MimerSQLDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-MimerSQLDialect
      @/@session_factory/@dialect/@Community-MySQLLegacyDialect
      sname
      Community-MySQLLegacyDialect
      svalue
      org.hibernate.community.dialect.MySQLLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-MySQLLegacyDialect
      @/@session_factory/@dialect/@Community-OracleLegacyDialect
      sname
      Community-OracleLegacyDialect
      svalue
      org.hibernate.community.dialect.OracleLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-OracleLegacyDialect
      @/@session_factory/@dialect/@Community-PostgresPlusLegacyDialect
      sname
      Community-PostgresPlusLegacyDialect
      svalue
      org.hibernate.community.dialect.PostgresPlusLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-PostgresPlusLegacyDialect
      @/@session_factory/@dialect/@Community-PostgreSQLLegacyDialect
      sname
      Community-PostgreSQLLegacyDialect
      svalue
      org.hibernate.community.dialect.PostgreSQLLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-PostgreSQLLegacyDialect
      @/@session_factory/@dialect/@Community-RDMSOS2200Dialect
      sname
      Community-RDMSOS2200Dialect
      svalue
      org.hibernate.community.dialect.RDMSOS2200Dialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-RDMSOS2200Dialect
      @/@session_factory/@dialect/@Community-SQLiteDialect
      sname
      Community-SQLiteDialect
      svalue
      org.hibernate.community.dialect.SQLiteDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-SQLiteDialect
      @/@session_factory/@dialect/@Community-SQLServerLegacyDialect
      sname
      Community-SQLServerLegacyDialect
      svalue
      org.hibernate.community.dialect.SQLServerLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-SQLServerLegacyDialect
      @/@session_factory/@dialect/@Community-SybaseAnywhereDialect
      sname
      Community-SybaseAnywhereDialect
      svalue
      org.hibernate.community.dialect.SybaseAnywhereDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-SybaseAnywhereDialect
      @/@session_factory/@dialect/@Community-SybaseASELegacyDialect
      sname
      Community-SybaseASELegacyDialect
      svalue
      org.hibernate.community.dialect.SybaseASELegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-SybaseASELegacyDialect
      @/@session_factory/@dialect/@Community-SybaseLegacyDialect
      sname
      Community-SybaseLegacyDialect
      svalue
      org.hibernate.community.dialect.SybaseLegacyDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-SybaseLegacyDialect
      @/@session_factory/@dialect/@Community-TeradataDialect
      sname
      Community-TeradataDialect
      svalue
      org.hibernate.community.dialect.TeradataDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-TeradataDialect
      @/@session_factory/@dialect/@Community-TimesTenDialect
      sname
      Community-TimesTenDialect
      svalue
      org.hibernate.community.dialect.TimesTenDialect
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      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
      sid
      Community-TimesTenDialect
    @/@session_factory/@show_sql
    sname
    show_sql
    slabel
    show_sql
    sinputtype
    truefalse
    sdescription
    Write all SQL statements to console. This is an alternative to setting the log category org.hibernate.SQL to debug.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    show_sql
    @/@session_factory/@format_sql
    sname
    format_sql
    slabel
    format_sql
    sinputtype
    truefalse
    sdescription
    Pretty print the SQL in the log and console.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    format_sql
    @/@session_factory/@default_schema
    sname
    default_schema
    slabel
    default_schema
    sdescription
    Qualify unqualified tablenames with the given schema/tablespace in generated SQL.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    default_schema
    @/@session_factory/@default_catalog
    sname
    default_catalog
    slabel
    default_catalog
    sdescription
    Qualify unqualified tablenames with the given catalog in generated SQL.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    default_catalog
    @/@session_factory/@session_factory_name
    sname
    session_factory_name
    slabel
    session_factory_name
    sdescription
    The SessionFactory will be automatically bound to this name in JNDI after it has been created.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    session_factory_name
    @/@session_factory/@max_fetch_depth
    sname
    max_fetch_depth
    slabel
    max_fetch_depth
    sdescription
    Set a maximum &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;depth&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot; for the outer join fetch tree for single-ended associations (one-to-one, many-to-one). A 0 disables default outer join fetching.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    max_fetch_depth
    @/@session_factory/@default_batch_fetch_size
    sname
    default_batch_fetch_size
    slabel
    default_batch_fetch_size
    sdescription
    Set a default size for Hibernate batch fetching of associations.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    default_batch_fetch_size
    @/@session_factory/@default_entity_mode
    sname
    default_entity_mode
    slabel
    default_entity_mode
    sinputtype
    select
    sdefault
    pojo
    sdescription
    Set a default mode for entity representation for all sessions opened from this SessionFactory dynamic-map, dom4j, pojo
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    default_entity_mode
      @/@session_factory/@default_entity_mode/@dynamic-map
      sname
      dynamic-map
      slabel
      dynamic-map
      svalue
      dynamic-map
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      dynamic-map
      @/@session_factory/@default_entity_mode/@dom4j
      sname
      dom4j
      slabel
      dom4j
      svalue
      dom4j
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      dom4j
      @/@session_factory/@default_entity_mode/@pojo
      sname
      pojo
      slabel
      pojo
      svalue
      pojo
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sid
      pojo
    @/@session_factory/@order_updates
    sname
    order_updates
    slabel
    order_updates
    sinputtype
    truefalse
    sdescription
    Force Hibernate to order SQL updates by the primary key value of the items being updated. This will result in fewer transaction deadlocks in highly concurrent systems.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    order_updates
    @/@session_factory/@generate_statistics
    sname
    generate_statistics
    slabel
    generate_statistics
    sinputtype
    truefalse
    sdescription
    If enabled, Hibernate will collect statistics useful for performance tuning.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    generate_statistics
    @/@session_factory/@use_identifer_rollback
    sname
    use_identifer_rollback
    slabel
    use_identifer_rollback
    sinputtype
    truefalse
    sdescription
    If enabled, generated identifier properties will be reset to default values when objects are deleted.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    use_identifer_rollback
    @/@session_factory/@use_sql_comments
    sname
    use_sql_comments
    slabel
    use_sql_comments
    sinputtype
    truefalse
    sdescription
    If turned on, Hibernate will generate comments inside the SQL, for easier debugging, defaults to false.
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    use_sql_comments
    @/@session_factory/@current_session_context_class
    sname
    current_session_context_class
    slabel
    current_session_context_class
    sdescription
    Supply a (custom) strategy for the scoping of the &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;current&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot; Session. See Section 2.5, “Contextual Sessions” for more information about the built-in strategies. eg. jta | thread | custom.Class
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    current_session_context_class
    @/@session_factory/@jdbc
    sname
    jdbc
    slabel
    jdbc
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    false
    seditCols
    2
    sinitialization
    false
    sid
    jdbc
      @/@session_factory/@jdbc/@fetch_size
      sname
      fetch_size
      slabel
      fetch_size
      sdescription
      A non-zero value determines the JDBC fetch size (calls Statement.setFetchSize()).
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      fetch_size
      @/@session_factory/@jdbc/@batch_size
      sname
      batch_size
      slabel
      batch_size
      sdescription
      A non-zero value enables use of JDBC2 batch updates by Hibernate. eg. recommended values between 5 and 30
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      batch_size
      @/@session_factory/@jdbc/@batch_versioned_data
      sname
      batch_versioned_data
      slabel
      batch_versioned_data
      sinputtype
      truefalse
      sdefault
      false
      sdescription
      Set this property to true if your JDBC driver returns correct row counts from executeBatch() (it is usually safe to turn this option on). Hibernate will then use batched DML for automatically versioned data. Defaults to false.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      batch_versioned_data
      @/@session_factory/@jdbc/@factory_class
      sname
      factory_class
      slabel
      factory_class
      sdescription
      Select a custom Batcher. Most applications will not need this configuration property.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      factory_class
      @/@session_factory/@jdbc/@use_scrollable_resultset
      sname
      use_scrollable_resultset
      slabel
      use_scrollable_resultset
      sinputtype
      truefalse
      sdescription
      Enables use of JDBC2 scrollable resultsets by Hibernate. This property is only necessary when using user supplied JDBC connections, Hibernate uses connection metadata otherwise.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      use_scrollable_resultset
      @/@session_factory/@jdbc/@use_streams_for_binary
      sname
      use_streams_for_binary
      slabel
      use_streams_for_binary
      sinputtype
      truefalse
      sdescription
      Use streams when writing/reading binary or serializable types to/from JDBC (system-level property).
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      use_streams_for_binary
      @/@session_factory/@jdbc/@use_get_generated_keys
      sname
      use_get_generated_keys
      slabel
      use_get_generated_keys
      sinputtype
      truefalse
      sdescription
      Enable use of JDBC3 PreparedStatement.getGeneratedKeys() to retrieve natively generated keys after insert. Requires JDBC3+ driver and JRE1.4+, set to false if your driver has problems with the Hibernate identifier generators. By default, tries to determine the driver capabilites using connection metadata.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      use_get_generated_keys
    @/@session_factory/@connection
    sname
    connection
    slabel
    connection
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    false
    seditCols
    2
    sinitialization
    false
    sid
    connection
      @/@session_factory/@connection/@drivers
      sname
      drivers
      slabel
      驱动
      sinputtype
      select
      scolspan
      2
      sinputattrs
      onChange="selectDriver()"
      sdescription
      可选驱动
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      drivers
        @/@session_factory/@connection/@drivers/@1
        sname
        1
        slabel
        AS/400 Driver
        svalue
        1
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        1
        @/@session_factory/@connection/@drivers/@14
        sname
        14
        slabel
        Derby
        svalue
        14
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        14
        @/@session_factory/@connection/@drivers/@2
        sname
        2
        slabel
        Firebird JCA/JDBC Driver(JayBird)
        svalue
        2
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        2
        @/@session_factory/@connection/@drivers/@3
        sname
        3
        slabel
        HSQLDB
        svalue
        3
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        3
        @/@session_factory/@connection/@drivers/@4
        sname
        4
        slabel
        Informix Driver
        svalue
        4
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        4
        @/@session_factory/@connection/@drivers/@5
        sname
        5
        slabel
        JDBC-ODBC Bridge
        svalue
        5
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        5
        @/@session_factory/@connection/@drivers/@6
        sname
        6
        slabel
        MySQL Connector/J
        svalue
        6
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        6
        @/@session_factory/@connection/@drivers/@12
        sname
        12
        slabel
        MySQL Connector(git)
        svalue
        12
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        12
        @/@session_factory/@connection/@drivers/@7
        sname
        7
        slabel
        Oracle Thin Driver
        svalue
        7
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        7
        @/@session_factory/@connection/@drivers/@8
        sname
        8
        slabel
        PostgreSQL
        svalue
        8
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        8
        @/@session_factory/@connection/@drivers/@9
        sname
        9
        slabel
        SQLServer(DataDirect)
        svalue
        9
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        9
        @/@session_factory/@connection/@drivers/@10
        sname
        10
        slabel
        SQLServer(Microsoft)
        svalue
        10
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        10
        @/@session_factory/@connection/@drivers/@13
        sname
        13
        slabel
        SQLServer(Jtds)
        svalue
        13
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        13
        @/@session_factory/@connection/@drivers/@SQLLite
        sname
        SQLLite
        svalue
        15
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_registDisabled
        false
        sth_mark
        false
        sid
        SQLLite
        @/@session_factory/@connection/@drivers/@11
        sname
        11
        slabel
        Sybase jConnect
        svalue
        11
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        11
        @/@session_factory/@connection/@drivers/@SwtObject
        sname
        SwtObject
        slabel
        SwtObject
        sdescriptors
        ,xworker.lang.MetaDescriptor3/@attribute/@SwtObject
        sid
        SwtObject
          @/@session_factory/@connection/@drivers/@SwtObject/@inputExtend
          sname
          inputExtend
          slabel
          inputExtend
          sdescriptors
          ,xworker.lang.MetaDescriptor3/@attribute/@SwtObject/@inputExtend
          sid
          inputExtend
            @/@session_factory/@connection/@drivers/@SwtObject/@inputExtend/@SwtObject1
            sname
            listeners
            slabel
            listeners
            sdescriptors
            ,xworker.swt.events.Listeners/@listeners
            sid
            SwtObject1
              @/@session_factory/@connection/@drivers/@SwtObject/@inputExtend/@SwtObject1/@driversInputSelection
              sname
              driversInputSelection
              stype
              Selection
              slabel
              driversInputSelection
              sdescriptors
              xworker.swt.events.Listeners/@listeners/@Listener
              sid
              driversInputSelection
                @/@session_factory/@connection/@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.//3306/"],
               ["org.gjt.mm.mysql.Driver", "jdbc.mysql.//3306/"],
               ["oracle.jdbc.driver.OracleDriver", "jdbc.oracle.thin@null1521"],
               ["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.sqllite.JDBC", "jdbc:sqlite:/path"]
               ];
               
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
                sid
                GroovyAction
      @/@session_factory/@connection/@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
      @/@session_factory/@connection/@url
      sname
      url
      slabel
      url
      ssize
      60
      scolspan
      2
      sdescription
      jdbc URL
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      url
      @/@session_factory/@connection/@username
      sname
      username
      slabel
      username
      sdescription
      database user
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      username
      @/@session_factory/@connection/@password
      sname
      password
      slabel
      password
      sinputtype
      password
      sdescription
      database user password
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      password
      @/@session_factory/@connection/@pool_size
      sname
      pool_size
      slabel
      pool_size
      sdescription
      maximum number of pooled connections
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      pool_size
      @/@session_factory/@connection/@provider_class
      sname
      provider_class
      slabel
      provider_class
      sdescription
      The classname of a custom ConnectionProvider which provides JDBC connections to Hibernate.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      provider_class
      @/@session_factory/@connection/@isolation
      sname
      isolation
      slabel
      isolation
      sdescription
      Set the JDBC transaction isolation level. Check java.sql.Connection for meaningful values but note that most databases do not support all isolation levels. eg. 1, 2, 4, 8
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      isolation
      @/@session_factory/@connection/@autocommit
      sname
      autocommit
      slabel
      autocommit
      sinputtype
      truefalse
      sdescription
      Enables autocommit for JDBC pooled connections (not recommended).
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      autocommit
      @/@session_factory/@connection/@release_mode
      sname
      release_mode
      slabel
      release_mode
      sinputtype
      select
      sdefault
      on_close
      sdescription
      Specify when Hibernate should release JDBC connections. By default, a JDBC connection is held until the session is explicitly closed or disconnected. For an application server JTA datasource, you should use after_statement to aggressively release connections after every JDBC call. For a non-JTA connection, it often makes sense to release the connection at the end of each transaction, by using after_transaction. auto will choose after_statement for the JTA and CMT transaction strategies and after_transaction for the JDBC transaction strategy.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      release_mode
        @/@session_factory/@connection/@release_mode/@on_close
        sname
        on_close
        slabel
        on_close
        svalue
        on_close
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        on_close
        @/@session_factory/@connection/@release_mode/@after_transaction
        sname
        after_transaction
        slabel
        after_transaction
        svalue
        after_transaction
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        after_transaction
        @/@session_factory/@connection/@release_mode/@after_statement
        sname
        after_statement
        slabel
        after_statement
        svalue
        after_statement
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        after_statement
        @/@session_factory/@connection/@release_mode/@auto
        sname
        auto
        slabel
        auto
        svalue
        auto
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        auto
      @/@session_factory/@connection/@property
      sname
      property
      slabel
      property
      sdescriptors
      xworker.lang.MetaDescriptor3/@thing
      smany
      true
      seditCols
      2
      sinitialization
      false
      sid
      property
        @/@session_factory/@connection/@property/@name
        sname
        name
        slabel
        name
        LvalidateOnBlur
        false
        LallowDecimals
        false
        LallowNegative
        false
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute
        sid
        name
        @/@session_factory/@connection/@property/@value
        sname
        value
        slabel
        value
        ssize
        60
        scolspan
        2
        LvalidateOnBlur
        false
        LallowDecimals
        false
        LallowNegative
        false
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute
        sid
        value
      @/@session_factory/@connection/@SwtObject
      sname
      listeners
      slabel
      listeners
      sdescriptors
      xworker.swt.events.Listeners/@listeners,xworker.lang.MetaDescriptor3/@SwtObject
      sid
      SwtObject
        @/@session_factory/@connection/@SwtObject/@aDisposeListener
        sname
        aDisposeListener
        stype
        Dispose
        slabel
        aDisposeListener
        sdescriptors
        xworker.swt.events.Listeners/@listeners/@Listener
        sid
        aDisposeListener
          @/@session_factory/@connection/@SwtObject/@aDisposeListener/@script
          sname
          script
          slabel
          script
          sdescriptors
          xworker.lang.actions.Actions
          sid
          script
    @/@session_factory/@jndi
    sname
    jndi
    slabel
    jndi
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    false
    seditCols
    2
    sinitialization
    false
    sid
    jndi
      @/@session_factory/@jndi/@property
      sname
      property
      slabel
      property
      sdescriptors
      xworker.lang.MetaDescriptor3/@thing
      smany
      true
      seditCols
      2
      sinitialization
      false
      sid
      property
        @/@session_factory/@jndi/@property/@name
        sname
        name
        slabel
        name
        LvalidateOnBlur
        false
        LallowDecimals
        false
        LallowNegative
        false
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute
        sid
        name
        @/@session_factory/@jndi/@property/@value
        sname
        value
        slabel
        value
        ssize
        60
        scolspan
        2
        LvalidateOnBlur
        false
        LallowDecimals
        false
        LallowNegative
        false
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute
        sid
        value
    @/@session_factory/@cache
    sname
    cache
    slabel
    cache
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    false
    seditCols
    2
    sinitialization
    false
    sid
    cache
      @/@session_factory/@cache/@provider_class
      sname
      provider_class
      slabel
      provider_class
      sinputattrs
      The classname of a custom CacheProvider.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      provider_class
      @/@session_factory/@cache/@use_minimal_puts
      sname
      use_minimal_puts
      slabel
      use_minimal_puts
      sinputtype
      truefalse
      sdescription
      Optimize second-level cache operation to minimize writes, at the cost of more frequent reads. This setting is most useful for clustered caches and, in Hibernate3, is enabled by default for clustered cache implementations.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      use_minimal_puts
      @/@session_factory/@cache/@use_query_cache
      sname
      use_query_cache
      slabel
      use_query_cache
      sinputtype
      truefalse
      sdescription
      Enable the query cache, individual queries still have to be set cachable.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      use_query_cache
      @/@session_factory/@cache/@use_second_level_cache
      sname
      use_second_level_cache
      slabel
      use_second_level_cache
      sinputtype
      truefalse
      sdescription
      May be used to completely disable the second level cache, which is enabled by default for classes which specify a &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;cache&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; mapping.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      use_second_level_cache
      @/@session_factory/@cache/@query_cache_factory
      sname
      query_cache_factory
      slabel
      query_cache_factory
      sdescription
      The classname of a custom QueryCache interface, defaults to the built-in StandardQueryCache.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      query_cache_factory
      @/@session_factory/@cache/@region_prefix
      sname
      region_prefix
      slabel
      region_prefix
      sdescription
      A prefix to use for second-level cache region names.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      region_prefix
      @/@session_factory/@cache/@use_structured_entries
      sname
      use_structured_entries
      slabel
      use_structured_entries
      sinputtype
      truefalse
      sdescription
      Forces Hibernate to store data in the second-level cache in a more human-friendly format.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      use_structured_entries
    @/@session_factory/@transaction
    sname
    transaction
    slabel
    transaction
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    false
    seditCols
    2
    sinitialization
    false
    sid
    transaction
      @/@session_factory/@transaction/@factory_class
      sname
      factory_class
      slabel
      factory_class
      sdescription
      The classname of a TransactionFactory to use with Hibernate Transaction API (defaults to JDBCTransactionFactory).
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      factory_class
      @/@session_factory/@transaction/@jta_UserTransaction
      sname
      jta.UserTransaction
      slabel
      jta.UserTransaction
      sdescription
      A JNDI name used by JTATransactionFactory to obtain the JTA UserTransaction from the application server.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      jta_UserTransaction
      @/@session_factory/@transaction/@manager_lookup_class
      sname
      manager_lookup_class
      slabel
      manager_lookup_class
      sdescription
      The classname of a TransactionManagerLookup - required when JVM-level caching is enabled or when using hilo generator in a JTA environment.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      manager_lookup_class
      @/@session_factory/@transaction/@flush_before_completion
      sname
      flush_before_completion
      slabel
      flush_before_completion
      sinputtype
      truefalse
      sdescription
      If enabled, the session will be automatically flushed during the before completion phase of the transaction. Built-in and automatic session context management is preferred, see Section 2.5, “Contextual Sessions”.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      flush_before_completion
      @/@session_factory/@transaction/@auto_close_session
      sname
      auto_close_session
      slabel
      auto_close_session
      sinputtype
      truefalse
      sdescription
      If enabled, the session will be automatically closed during the after completion phase of the transaction. Built-in and utomatic session context management is preferred, see Section 2.5, “Contextual Sessions”.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      auto_close_session
    @/@session_factory/@query
    sname
    query
    slabel
    query
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    false
    seditCols
    2
    sinitialization
    false
    sid
    query
      @/@session_factory/@query/@factory_class
      sname
      factory_class
      slabel
      factory_class
      sdescription
      Chooses the HQL parser implementation.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      factory_class
      @/@session_factory/@query/@substitutions
      sname
      substitutions
      slabel
      substitutions
      sdescription
      Mapping from tokens in Hibernate queries to SQL tokens (tokens might be function or literal names, for xworker.example). eg. hqlLiteral=SQL_LITERAL, hqlFunction=SQLFUNC
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      substitutions
    @/@session_factory/@hbm2ddl
    sname
    hbm2ddl
    slabel
    hbm2ddl
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    false
    seditCols
    2
    sinitialization
    false
    sid
    hbm2ddl
      @/@session_factory/@hbm2ddl/@auto
      sname
      auto
      slabel
      auto
      sinputtype
      select
      sdescription
      Automatically validate or export schema DDL to the database when the SessionFactory is created. With create-drop, the database schema will be dropped when the SessionFactory is closed explicitly. eg. validate | update | create | create-drop
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      auto
        @/@session_factory/@hbm2ddl/@auto/@validate
        sname
        validate
        slabel
        validate
        svalue
        validate
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        validate
        @/@session_factory/@hbm2ddl/@auto/@update
        sname
        update
        slabel
        update
        svalue
        update
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        update
        @/@session_factory/@hbm2ddl/@auto/@create
        sname
        create
        slabel
        create
        svalue
        create
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        create
        @/@session_factory/@hbm2ddl/@auto/@create-drop
        sname
        create-drop
        slabel
        create-drop
        svalue
        create-drop
        sdescriptors
        xworker.lang.MetaDescriptor3/@attribute/@value
        sid
        create-drop
    @/@session_factory/@cglib
    sname
    cglib
    slabel
    cglib
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    false
    seditCols
    2
    sinitialization
    false
    sid
    cglib
      @/@session_factory/@cglib/@use_reflection_optimizer
      sname
      use_reflection_optimizer
      slabel
      use_reflection_optimizer
      sinputtype
      truefalse
      sdescription
      Enables use of CGLIB instead of runtime reflection (System-level property). Reflection can sometimes be useful when troubleshooting, note that Hibernate always requires CGLIB even if you turn off the optimizer. You can not set this property in hibernate.cfg.xml.
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      use_reflection_optimizer
    @/@session_factory/@mapping
    sname
    mapping
    slabel
    mapping
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    true
    seditCols
    2
    sinitialization
    false
    sid
    mapping
      @/@session_factory/@mapping/@resource
      sname
      resource
      slabel
      resource
      ssize
      60
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      resource
    @/@session_factory/@class-cache
    sname
    class-cache
    slabel
    class-cache
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    sextends
    xworker.hibernate.hibernate-configuration-nodes.class-cache
    smany
    true
    seditCols
    2
    sinitialization
    false
    sid
    class-cache
    @/@session_factory/@collection-cache
    sname
    collection-cache
    slabel
    collection-cache
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    sextends
    xworker.hibernate.hibernate-configuration-nodes.collection-cache
    smany
    true
    seditCols
    2
    sinitialization
    false
    sid
    collection-cache
    @/@session_factory/@event
    sname
    event
    slabel
    event
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    sextends
    xworker.hibernate.hibernate-configuration-nodes.event
    smany
    true
    seditCols
    2
    sinitialization
    false
    sid
    event
  @/@security
  sname
  security
  slabel
  security
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-configuration-nodes.security
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  security
  @/@listener
  sname
  listener
  slabel
  listener
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-configuration-nodes.listener
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  listener
  @/@dataObjectMappings
  sname
  mappings
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingCollection
  smany
  false
  seditCols
  2
  sinitialization
  false
  sid
  dataObjectMappings
  @/@scripts
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_deprecated
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  snotXmlAttribute
  false
  sjson_isArray
  false
  sid
  scripts
    @/@scripts/@init
    sname
    init
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Global
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import xworker.hibernate.HibernateContext;
import xworker.lang.executor.Executor;

HibernateContext.initDbSessionFactory(self.name);

Executor.println("hibernate " + self.name + " is inited!");
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sid
    init
    @/@scripts/@init1
    sname
    close
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Global
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import xworker.hibernate.HibernateContext;
import xworker.lang.executor.Executor;

HibernateContext.closeDBSessionFactory(self.name);

Executor.println("hibernate " + self.name + " is closed!");
#$@text#$@
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sid
    init1
    @/@scripts/@deploy1
    sname
    deploy
    schangeSelf
    true
    sselfVarName
    data
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@ActionGroup
    sth_createIndex
    false
    sid
    deploy1
      @/@scripts/@deploy1/@actions
      sname
      actions
      sdescriptors
      xworker.lang.actions.Begin/@actions
      sth_createIndex
      false
      sid
      actions
        @/@scripts/@deploy1/@actions/@init
        sname
        init
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        svarScope
        Local
        sdisableGlobalContext
        false
        Scode
#$@text#$@
import org.xmeta.Thing;
import org.xmeta.ActionContext;

import org.apache.commons.io.FileUtils;
import org.xmeta.util.UtilString;

import java.io.File;
import xworker.lang.executor.Executor;


def TAG = "Hibernate";
entityMode = "dynamic-map";
def factory = data.getThing("session_factory@0");
if(factory != null){
    entityMode = factory.getString("default_entity_mode");
}

datas = [];
def mapObjs = data.getThing("mappings@0");
if(mapObjs == null){
    Executor.info(TAG, "must config the mappings node!");
    return null;
}
if(mapObjs != null){
    def data = mapObjs.doAction("run");
    Executor.info(TAG, "data=" + data);
    if(data instanceof List){
        datas = data;
    }else if(data != null){
        datas.add(data);
    }
}

dirPath = world.getPath() + "/work/hibernate/" + data.name + "/";
     //UtilString.getThingManagerFileName(data) + data.name + "/";

def mappings = [];
for(d in datas){
    mappings.add(data.name + "/" + d.metadata.category.name.replace('.', '/') + "/" + d.metadata.name + ".xml");
}

ActionContext acontext = new ActionContext();
acontext.put("dataObject", data);
acontext.put("mappings", mappings);

Thing template = new Thing("xworker.core.util.TextTemplate");
template.put("type", "freemarker");
template.put("templatePath", "xworker/hibernate/hibernate_config.ftl");
//template.setAttribute("dataVariableName", "dataObject");
//template.setAttribute("dataName", "dataObject");

String config =  template.doAction("run", acontext);
FileUtils.writeStringToFile(new File(dirPath + "hibernate.cfg.xml"), config);

return "success";
#$@text#$@
        sinterpretationType
        Action
        screateLocalVarScope
        false
        ssaveReturn
        false
        sswitchResult
        false
        sdebugLog
        false
        sdescriptors
        xworker.lang.actions.Actions/@GroovyAction
        sth_createIndex
        false
        sid
        init
        @/@scripts/@deploy1/@actions/@For
        sname
        Iterator
        slabel
        Iterator
        scollectionName
        datas
        svarName
        thing
        sinterpretationType
        Self
        sdescriptors
        xworker.lang.actions.Iterator
        sid
        For
          @/@scripts/@deploy1/@actions/@For/@ChildAction
          sname
          ChildAction
          sdescriptors
          xworker.lang.actions.Iterator/@ChildAction
          sth_createIndex
          false
          sth_mark
          false
          sid
          ChildAction
            @/@scripts/@deploy1/@actions/@For/@ChildAction/@initPath
            sname
            init
            sisSynchronized
            false
            sthrowException
            true
            suseOtherAction
            false
            svarScope
            Global
            sdisableGlobalContext
            false
            Scode
#$@text#$@
import xworker.lang.executor.Executor;

def TAG = "Hibernate";

filePath = dirPath + thing.metadata.category.name.replace('.', '/') + "/" + thing.metadata.name + ".xml"
thing = thing.doAction("toHibernate", actionContext);

Executor.info(TAG, "create mapping: " + filePath + thing);
#$@text#$@
            sinterpretationType
            Action
            screateLocalVarScope
            false
            ssaveReturn
            false
            sswitchResult
            false
            sdebugLog
            false
            sdescriptors
            xworker.groovy.GroovyAction
            sid
            initPath
            @/@scripts/@deploy1/@actions/@For/@ChildAction/@mappingTempalte
            sname
            mappingTempalte
            sinterpretationType
            Self
            svarScope
            Global
            sdescriptors
            xworker.lang.actions.Actions/@ActionGroup
            sid
            mappingTempalte
              @/@scripts/@deploy1/@actions/@For/@ChildAction/@mappingTempalte/@contexts
              sname
              contexts
              slabel
              contexts
              sdescriptors
              xworker.lang.actions.Begin/@contexts
              sid
              contexts
                @/@scripts/@deploy1/@actions/@For/@ChildAction/@mappingTempalte/@contexts/@fileContext
                sfilePath
                ognl:filePath
                sdataName
                fout
                sforeceCreate
                true
                sname
                fileContext
                slabel
                fileContext
                sdisable
                false
                sonError
                ignore
                spreventError
                false
                sinherit
                true
                sdescriptors
                xworker.core.actions.io.FileOutputStream,xworker.lang.actions.Inout/@contexts/@context
                sid
                fileContext
              @/@scripts/@deploy1/@actions/@For/@ChildAction/@mappingTempalte/@actions1
              sname
              actions
              sdescriptors
              xworker.lang.actions.Begin/@actions
              sid
              actions1
                @/@scripts/@deploy1/@actions/@For/@ChildAction/@mappingTempalte/@actions1/@DataObject
                sname
                mappingTemplate
                stemplatePath
                xworker/hibernate/hibernate_mapping.ftl
                stype
                freemarker
                soutput
                fout
                svarScope
                Local
                stemplateEncoding
                UTF-8
                soutputEncoding
                UTF-8
                sinterpretationType
                Self
                sattributeTemplate
                false
                schildsAttributeTemplate
                false
                sisSynchronized
                false
                sthrowException
                true
                suseOtherAction
                false
                screateLocalVarScope
                false
                ssaveReturn
                false
                sswitchResult
                false
                sdisableGlobalContext
                false
                sdebugLog
                false
                sdescriptors
                xworker.core.util.TextTemplate
                sid
                DataObject
  @/@swtMenuScripts
  sname
  swtMenuScripts
  slabel
  swtMenuScripts
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sid
  swtMenuScripts
    @/@swtMenuScripts/@generateResource
    sname
    generateResource
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Global
    sdisableGlobalContext
    false
    Scode
#$@text#$@
def cThing = currentThing;
new Thread(
    [
       run : {
           cThing.doAction("deploy");
       }
    ] as Runnable
).start();
#$@text#$@
    sdescriptors
    xworker.groovy.GroovyAction
    sid
    generateResource
    @/@swtMenuScripts/@reinitHibernate
    sname
    reinitHibernate
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Global
    sdisableGlobalContext
    false
    Scode
#$@text#$@
import xworker.contexts.HibernateContext;

def cThing = currentThing;
new Thread(
    [
       run : {
           HibernateContext.initDbSessionFactory(cThing.name);
       }
    ] as Runnable
).start();

println "hibernate " + currentThing.name + " is reinited!";
#$@text#$@
    sdescriptors
    xworker.groovy.GroovyAction
    sid
    reinitHibernate
  @/@4127
  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
  4127
    @/@4127/@4128
    sname
    hibernateMenu
    slabel
    Hibernate
    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
    4128
      @/@4127/@4128/@4129
      sname
      generateResource
      slabel
      生成Hibernate配置
      saction
      xworker.hibernate..hibernate_configuration/@swtMenuScripts/@generateResource
      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
      4129
      @/@4127/@4128/@4130
      sname
      reinitHibernate
      slabel
      重新初始化Hibernate
      saction
      xworker.hibernate..hibernate_configuration/@swtMenuScripts/@reinitHibernate
      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
      4130
