All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.db.hibernate.HibernateContext.xer.txt Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
@xworker.db.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上下文。

初始化后会提供session, sessionFactory变量。 #$@text#$@ sid HibernateContext sen_description

Hibernate context.

@xworker.db.hibernate.HibernateContext/@name sname name slabel 名称 sinheritDescription false sdescription

Hibernate的Session在变量上下文中名称,根据名称生成Session和SessionFactory的变量名,session名为该名,SessionFactory名为<name>Factory。

LvalidateOnBlur false LallowDecimals false LallowNegative false sen_label Name sdescriptors xworker.lang.MetaDescriptor3/@attribute sen_description

The name of hibernate variables, for xworker.example name is 'dbSession', then variable dbSession is session name, name dbSessionFactory is factory name.

@xworker.db.hibernate.HibernateContext/@configName sname configName slabel 数据库配置名称 ssize 40 sinheritDescription false Sdescription #$@text#$@

Hibernate的配置名称。

  • self.xxxx
    表示从调用动作的事物(self)中取Hibernate的配置名,xxx为self事物的属性名。
     
  • "xxx"
    常量字符串。
     
  • xxxx
    以xxx名从变量上下文中取,如果没有那么以xxxx为Hibernate的配置名。
#$@text#$@ LvalidateOnBlur false LallowDecimals false LallowNegative false sid configName sen_label Config Name sdescriptors xworker.lang.MetaDescriptor3/@attribute sen_description

?

@xworker.db.hibernate.HibernateContext/@isNeedTransaction sname isNeedTransaction slabel 是否需要事务 sinputtype truefalse scolspan 2 sdefault true Sdescription #$@text#$@ 是否需要事务处理。

如果需要事务处理则在初始化时启动事务,在exception方法中回滚事务,在success方法中如果脚本执行后返回failure则也回滚事务,否则提交事务。 #$@text#$@ LvalidateOnBlur false LallowDecimals false LallowNegative false sid isNeedTransaction sen_label Transaction sdescriptors xworker.lang.MetaDescriptor3/@attribute sen_description

If use transaction.

@xworker.db.hibernate.HibernateContext/@scripts sname scripts sid scripts slabel scripts sdescriptors xworker.lang.MetaDescriptor3/@actions @xworker.db.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.db.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.db.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.db.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.db.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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy