^1640764605569
@
sname
many-to-one
slabel
many-to-one
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
sid
many-to-one
  @/@name
  sname
  name
  slabel
  name
  sdescription
  属性名。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  name
  @/@column
  sname
  column
  slabel
  column
  sdescription
  外间字段名。它也可以通过嵌套的 <tt class="literal"><font face="新宋体">&lt;column&gt;</font></tt>元素指定。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  column
  @/@entity-name
  sname
  entity-name
  slabel
  entity-name
  sdescription
  被关联的类的实体名。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  entity-name
  @/@class
  sname
  class
  slabel
  class
  ssize
  60
  scolspan
  2
  sdescription
  关联的类的名字。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  class
  @/@insert
  sname
  insert
  slabel
  insert
  sinputtype
  select
  sdefault
  true
  sdescription
  指定对应的字段是否包含在用于<tt class="literal"><font face="新宋体">UPDATE</font></tt> 和/或 <tt class="literal"><font face="新宋体">INSERT</font></tt> 的SQL语句中。如果二者都是<tt class="literal"><font face="新宋体">false</font></tt>,则这是一个纯粹的 &ldquo;外源性（derived）&rdquo;关联，它的值是通过映射到同一个（或多个）字段的某些其他属性得到 或者通过trigger(触发器）、或其他程序。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  insert
    @/@insert/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@insert/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
  @/@update
  sname
  update
  slabel
  update
  sinputtype
  select
  sdefault
  true
  sdescription
  指定对应的字段是否包含在用于<tt class="literal"><font face="新宋体">UPDATE</font></tt> 和/或 <tt class="literal"><font face="新宋体">INSERT</font></tt> 的SQL语句中。如果二者都是<tt class="literal"><font face="新宋体">false</font></tt>,则这是一个纯粹的 &ldquo;外源性（derived）&rdquo;关联，它的值是通过映射到同一个（或多个）字段的某些其他属性得到 或者通过trigger(触发器）、或其他程序。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  update
    @/@update/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@update/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
  @/@formula
  sname
  formula
  slabel
  formula
  sinputtype
  textarea
  scolspan
  2
  sinputattrs
  codeName= codeType= wrap=false fillBoth=true cols= rows=80
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  formula
  @/@unique
  sname
  unique
  slabel
  unique
  sinputtype
  select
  sdefault
  false
  sdescription
  使用DDL为外键字段生成一个唯一约束。此外， 这也可以用作<tt class="literal"><font face="新宋体">property-ref</font></tt>的目标属性。这使关联同时具有 一对一的效果。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  unique
    @/@unique/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@unique/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
  @/@cascade
  sname
  cascade
  slabel
  cascade
  Sdescription
#$@text#$@
指明哪些操作会从父对象级联到关联的对象。<br /><br />
<p><tt class="literal"><font face="新宋体">cascade</font></tt>属性设置为除了<tt class="literal"><font face="新宋体">none</font></tt>以外任何有意义的值， 它将把特定的操作传播到关联对象中。这个值就代表着Hibernate基本操作的名称， <tt class="literal"><font face="新宋体">persist, merge, delete, save-update, evict, replicate, lock, refresh</font></tt>， 以及特别的值<tt class="literal"><font face="新宋体">delete-orphan</font></tt>和<tt class="literal"><font face="新宋体">all</font></tt>，并且可以用逗号分隔符 来合并这些操作，例如，<tt class="literal"><font face="新宋体">cascade=&quot;persist,merge,evict&quot;</font></tt>或 <tt class="literal"><font face="新宋体">cascade=&quot;all,delete-orphan&quot;</font></tt>。更全面的解释请参考<a title="11.11.&nbsp;传播性持久化(transitive persistence)" tppabs="http://www.hibernate.org/hib_docs/v3/reference/zh-cn/html/objectstate.html#objectstate-transitive" href="http://www.huihoo.com/framework/hibernate/reference-v3_zh-cn/objectstate.html#objectstate-transitive">第&nbsp;11.11&nbsp;节 &ldquo;传播性持久化(transitive persistence)&rdquo;</a>. </p>
#$@text#$@
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  cascade
  @/@foreign-key
  sname
  foreign-key
  slabel
  foreign-key
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  foreign-key
  @/@access
  sname
  access
  slabel
  access
  sdescription
  Hibernate用来访问属性的策略。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  access
  @/@property-ref
  sname
  property-ref
  slabel
  property-ref
  sdescription
  指定关联类的一个属性，这个属性将会和本外键相对应。 如果没有指定，会使用对方关联类的主键。<br /><br /><font face="新宋体">property-ref</font>属性只应该用来对付老旧的数据库系统， 可能有外键指向对方关联表的是个非主键字段（但是应该是一个惟一关键字）的情况下。 这是一种十分丑陋的关系模型。比如说，假设<tt class="literal"><font face="新宋体">Product</font></tt>类有一个惟一的序列号， 它并不是主键。（<tt class="literal"><font face="新宋体">unique</font></tt>属性控制Hibernate通过SchemaExport工具生成DDL的过程。）
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  property-ref
  @/@unique-key
  sname
  unique-key
  slabel
  unique-key
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  unique-key
  @/@index
  sname
  index
  slabel
  index
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  index
  @/@optimistic-lock
  sname
  optimistic-lock
  slabel
  optimistic-lock
  sinputtype
  select
  sdefault
  true
  sdescription
  指定这个属性在做更新时是否需要获得乐观锁定（optimistic lock）。 换句话说，它决定这个属性发生脏数据时版本（version）的值是否增长。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  optimistic-lock
    @/@optimistic-lock/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@optimistic-lock/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
  @/@outer-join
  sname
  outer-join
  slabel
  outer-join
  sinputtype
  select
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  outer-join
    @/@outer-join/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@outer-join/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
    @/@outer-join/@auto
    sname
    auto
    slabel
    auto
    svalue
    auto
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    auto
  @/@not-found
  sname
  not-found
  slabel
  not-found
  sinputtype
  select
  sdefault
  exception
  sdescription
  指定外键引用的数据不存在时如何处理： <tt class="literal"><font face="新宋体">ignore</font></tt>会将数据不存在作为关联到一个空对象（null）处理。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  not-found
    @/@not-found/@exception
    sname
    exception
    slabel
    exception
    svalue
    exception
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    exception
    @/@not-found/@ignore
    sname
    ignore
    slabel
    ignore
    svalue
    ignore
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    ignore
  @/@embed-xml
  sname
  embed-xml
  slabel
  embed-xml
  sinputtype
  select
  sdefault
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  embed-xml
    @/@embed-xml/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@embed-xml/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
  @/@fetch
  sname
  fetch
  slabel
  fetch
  sinputtype
  select
  sdescription
  在外连接抓取（outer-join fetching）和序列选择抓取（sequential select fetching）两者中选择其一。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  fetch
    @/@fetch/@join
    sname
    join
    slabel
    join
    svalue
    join
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    join
    @/@fetch/@select
    sname
    select
    slabel
    select
    svalue
    select
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    select
  @/@node
  sname
  node
  slabel
  node
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  node
  @/@lazy
  sname
  lazy
  slabel
  lazy
  sinputtype
  select
  sdescription
  默认情况下，单点关联是经过代理的。<tt class="literal"><font face="新宋体">lazy=&quot;true&quot;</font></tt>指定此属性应该在实例变量第一次被访问时应该延迟抓取（fetche lazily）（需要运行时字节码的增强）。 <tt class="literal"><font face="新宋体">lazy=&quot;false&quot;</font></tt>指定此关联总是被预先抓取。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  lazy
    @/@lazy/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
    @/@lazy/@proxy
    sname
    proxy
    slabel
    proxy
    svalue
    proxy
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    proxy
    @/@lazy/@no-proxy
    sname
    no-proxy
    slabel
    no-proxy
    svalue
    no-proxy
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    no-proxy
  @/@not-null
  sname
  not-null
  slabel
  not-null
  sinputtype
  select
  sdescription
  使用DDL为外键字段生成一个非空约束。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  not-null
    @/@not-null/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@not-null/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
  @/@meta
  sname
  meta
  slabel
  meta
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.meta
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  meta
  @/@column1
  sname
  column
  slabel
  column
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.column
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  column1
  @/@formula1
  sname
  formula
  slabel
  formula
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.formula
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  formula1
