@xworker.hibernate.HibernateContext
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#$@
Hibernate上下文。<br />
<br />
初始化后会提供session, sessionFactory变量。
#$@text#$@
sid
HibernateContext
sen_description
<p>Hibernate context.</p>
@xworker.hibernate.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>
@xworker.hibernate.HibernateContext/@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
sid
configName
sen_label
Config Name
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sen_description
<p>?</p>
@xworker.hibernate.HibernateContext/@isNeedTransaction
sname
isNeedTransaction
slabel
是否需要事务
sinputtype
truefalse
scolspan
2
sdefault
true
Sdescription
#$@text#$@
是否需要事务处理。<br />
<br />
如果需要事务处理则在初始化时启动事务，在exception方法中回滚事务，在success方法中如果脚本执行后返回failure则也回滚事务，否则提交事务。
#$@text#$@
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sid
isNeedTransaction
sen_label
Transaction
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sen_description
<p>If use transaction.</p>
@xworker.hibernate.HibernateContext/@scripts
sname
scripts
sid
scripts
slabel
scripts
sdescriptors
xworker.lang.MetaDescriptor3/@actions
@xworker.hibernate.HibernateContext/@scripts/@init
sname
init
slabel
init
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.contexts.HibernateContext
smethodName
init
sid
init
sdescriptors
xworker.lang.actions.JavaAction
@xworker.hibernate.HibernateContext/@scripts/@success
sname
success
slabel
success
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.contexts.HibernateContext
smethodName
success
sid
success
sdescriptors
xworker.lang.actions.JavaAction
@xworker.hibernate.HibernateContext/@scripts/@exception
sname
exception
slabel
exception
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.contexts.HibernateContext
smethodName
exception
sid
exception
sdescriptors
xworker.lang.actions.JavaAction
@xworker.hibernate.HibernateContext/@scripts/@inherit
sname
inherit
slabel
inherit
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.contexts.HibernateContext
smethodName
inherit
sid
inherit
sdescriptors
xworker.lang.actions.JavaAction
@xworker.hibernate.HibernateContext/@scripts/@failure
sname
failure
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.contexts.HibernateContext
smethodName
exception
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.Actions/@JavaAction
