^1727573047877
@
sname
HibernateContext
slabel
HibernateContext
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.lang.actions.Context
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>Hibernate上下文。<span style="color: rgb(255, 165, 0);">长期未用，可能已经过时不能用了</span>。<br />
<br />
初始化后会提供session, sessionFactory变量。</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sjson_array_type
children
sjson_attribute
false
sen_description
<p>Hibernate context.</p>
sid
HibernateContext
  @/@name
  sname
  name
  slabel
  名称
  sinheritDescription
  false
  sdescription
  <p>Hibernate的Session在变量上下文中名称，根据名称生成Session和SessionFactory的变量名，session名为该名，SessionFactory名为&lt;name&gt;Factory。</p>
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Name
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sen_description
  <p>The name of hibernate variables, for xworker.example name is 'dbSession', then variable&nbsp;dbSession is session name, name dbSessionFactory is factory name.</p>
  sid
  name
  @/@configName
  sname
  configName
  slabel
  数据库配置名称
  ssize
  40
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>Hibernate的配置名称。</p>
<ul>
    <li>self.xxxx<br />
    表示从调用动作的事物(self)中取Hibernate的配置名，xxx为self事物的属性名。<br />
    &nbsp;</li>
    <li>&quot;xxx&quot;<br />
    常量字符串。<br />
    &nbsp;</li>
    <li>xxxx<br />
    以xxx名从变量上下文中取，如果没有那么以xxxx为Hibernate的配置名。</li>
</ul>
#$@text#$@
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Config Name
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sen_description
  <p>?</p>
  sid
  configName
  @/@isNeedTransaction
  sname
  isNeedTransaction
  slabel
  是否需要事务
  sinputtype
  truefalse
  scolspan
  2
  sdefault
  true
  Sdescription
#$@text#$@
是否需要事务处理。<br />
<br />
如果需要事务处理则在初始化时启动事务，在exception方法中回滚事务，在success方法中如果脚本执行后返回failure则也回滚事务，否则提交事务。
#$@text#$@
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Transaction
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sen_description
  <p>If use transaction.</p>
  sid
  isNeedTransaction
  @/@scripts
  sname
  scripts
  slabel
  scripts
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sid
  scripts
    @/@scripts/@createProvider
    sname
    createProvider
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.hibernat.HibernateContext
    smethodName
    createProvider
    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
    sid
    createProvider
