^1640764605576
@
sname
map
slabel
map
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
sid
map
  @/@name
  sname
  name
  slabel
  name
  sdescription
  集合属性的名称
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  name
  @/@persister
  sname
  persister
  slabel
  persister
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  persister
  @/@inverse
  sname
  inverse
  slabel
  inverse
  sinputtype
  select
  sdefault
  false
  sdescription
  标记这个集合作为双向关联关系中的方向一端。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  inverse
    @/@inverse/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@inverse/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
  @/@collection-type
  sname
  collection-type
  slabel
  collection-type
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  collection-type
  @/@cascade
  sname
  cascade
  slabel
  cascade
  sextends
  xworker.hibernate.hibernate-mapping-nodes.set/@cascade
  sinputtype
  select
  sdefault
  none
  sdescription
  让操作级联到子实体
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  cascade
  @/@access
  sname
  access
  slabel
  access
  sdescription
  Hibernate取得集合属性值时使用的策略
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  access
  @/@order-by
  sname
  order-by
  slabel
  order-by
  sdescription
  (可选, 仅用于jdk1.4) 指定表的字段(一个或几个)再加上asc或者desc(可选), 定义Map,Set和Bag的迭代顺序
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  order-by
  @/@catalog
  sname
  catalog
  slabel
  catalog
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  catalog
  @/@optimistic-lock
  sname
  optimistic-lock
  slabel
  optimistic-lock
  sinputtype
  select
  sdefault
  true
  sdescription
  对集合的状态的改变会是否导致其所属的实体的版本增长。 (对一对多关联来说，关闭这个属性常常是有理的)
  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
  @/@where
  sname
  where
  slabel
  where
  sinputtype
  textarea
  scolspan
  2
  sinputattrs
  rows=3 cols=60
  sdescription
  指定任意的SQL where条件, 该条件将在重新载入或者删除这个集合时使用(当集合中的数据仅仅是所有可用数据的一个子集时这个条件非常有用)
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  where
  @/@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
  @/@subselect
  sname
  subselect
  slabel
  subselect
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  subselect
  @/@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
  @/@schema
  sname
  schema
  slabel
  schema
  sdescription
  (可选) 表的schema的名称, 他将覆盖在根元素中定义的schema
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  schema
  @/@fetch
  sname
  fetch
  slabel
  fetch
  sinputtype
  select
  sdescription
  用于在外连接抓取、通过后续select抓取和通过后续subselect抓取之间选择。
  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
    @/@fetch/@subselect
    sname
    subselect
    slabel
    subselect
    svalue
    subselect
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    subselect
  @/@node
  sname
  node
  slabel
  node
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  node
  @/@mutable
  sname
  mutable
  slabel
  mutable
  sinputtype
  select
  sdefault
  true
  sdescription
  若值为<tt class="literal"><font face="新宋体">false</font></tt>,表明集合中的元素不会改变（在某些情况下可以进行一些小的性能优化）。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  mutable
    @/@mutable/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@mutable/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
  @/@lazy
  sname
  lazy
  slabel
  lazy
  sinputtype
  select
  sdescription
  &nbsp;可以用来关闭延迟加载(false)，指定一直使用预先抓取,或者打开&quot;extra-lazy&quot; 抓取，此时大多数操作不会初始化集合类(适用于非常大的集合)
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  lazy
    @/@lazy/@true
    sname
    true
    slabel
    true
    svalue
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    true
    @/@lazy/@false
    sname
    false
    slabel
    false
    svalue
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    false
    @/@lazy/@extra
    sname
    extra
    slabel
    extra
    svalue
    extra
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    extra
  @/@table
  sname
  table
  slabel
  table
  sdescription
  （可选&mdash;&mdash;默认为属性的名称）这个集合表的名称(不能在一对多的关联关系中使用)
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  table
  @/@sort
  sname
  sort
  slabel
  sort
  sdefault
  unsorted
  sdescription
  指定集合的排序顺序, 其可以为自然的(<tt class="literal"><font face="新宋体">natural</font></tt>)或者给定一个用来比较的类。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  sort
  @/@check
  sname
  check
  slabel
  check
  sinputtype
  textarea
  scolspan
  2
  sinputattrs
  rows=3 cols=60
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  check
  @/@batch-size
  sname
  batch-size
  slabel
  batch-size
  sdescription
  指定通过延迟加载取得集合实例的批处理块大小（&quot;batch size&quot;）。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  batch-size
  @/@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
  @/@subselect1
  sname
  subselect
  slabel
  subselect
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.subselect
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  subselect1
  @/@cache
  sname
  cache
  slabel
  cache
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.cache
  smany
  true
  seditCols
  2
  sinitialization
  false
  sdescription
  Hibernate的<tt class="literal"><font face="新宋体">Session</font></tt>在事务级别进行持久化数据的缓存操作。 当然，也有可能分别为每个类（或集合)，配置集群、或JVM级别(<tt class="literal"><font face="新宋体">SessionFactory级别</font></tt>)的缓存。 你甚至可以为之插入一个集群的缓存。注意，缓存永远不知道其他应用程序对持久化仓库（数据库）可能进行的修改 （即使可以将缓存数据设定为定期失效）。
  sid
  cache
  @/@synchronize
  sname
  synchronize
  slabel
  synchronize
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.synchronize
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  synchronize
  @/@comment
  sname
  comment
  slabel
  comment
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.comment
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  comment
  @/@key
  sname
  key
  slabel
  key
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.key
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sdescription
  我们目前已经见到过<tt class="literal"><font face="新宋体"><key></key></font></tt>元素多次了。 这个元素在父映射元素定义了对新表的连接，并且在被连接表中定义了一个外键引用原表的主键的情况下经常使用。<br /><br />对那些看重删除性能的系统，我们推荐所有的键都应该定义为<tt class="literal"><font face="新宋体">on-delete=&quot;cascade&quot;</font></tt>，这样 Hibernate 将使用数据库级的<tt class="literal"><font face="新宋体">ON CASCADE DELETE</font></tt>约束，而不是多个<tt class="literal"><font face="新宋体">DELETE</font></tt>语句。 注意，这个特性会绕过 Hibernate 通常对版本数据(versioned data)采用的乐观锁策略。 <br /><br /><tt class="literal"><font face="新宋体">not-null</font></tt> 和 <tt class="literal"><font face="新宋体">update</font></tt> 属性在映射单向一对多关联的时候有用。如果你映射一个单向一对多关联到非空的(non-nullable)外键，你<span class="emphasis"><em>必须</em></span> 用<tt class="literal"><font face="新宋体">&lt;key not-null=&quot;true&quot;&gt;</font></tt>定义此键字段。
  sid
  key
  @/@map-key
  sname
  map-key
  slabel
  map-key
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.map-key
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  map-key
  @/@composite-map-key
  sname
  composite-map-key
  slabel
  composite-map-key
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.composite-map-key
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  composite-map-key
  @/@map-key-many-to-many
  sname
  map-key-many-to-many
  slabel
  map-key-many-to-many
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.map-key-many-to-many
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  map-key-many-to-many
  @/@index
  sname
  index
  slabel
  index
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.index
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  index
  @/@composite-index
  sname
  composite-index
  slabel
  composite-index
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.composite-index
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  composite-index
  @/@index-many-to-many
  sname
  index-many-to-many
  slabel
  index-many-to-many
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.index-many-to-many
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  index-many-to-many
  @/@index-many-to-any
  sname
  index-many-to-any
  slabel
  index-many-to-any
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.index-many-to-any
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  index-many-to-any
  @/@element
  sname
  element
  slabel
  element
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.element
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  element
  @/@one-to-many
  sname
  one-to-many
  slabel
  one-to-many
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.one-to-many
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  one-to-many
  @/@many-to-many
  sname
  many-to-many
  slabel
  many-to-many
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.many-to-many
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  many-to-many
  @/@composite-element
  sname
  composite-element
  slabel
  composite-element
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.composite-element
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  composite-element
  @/@many-to-any
  sname
  many-to-any
  slabel
  many-to-any
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.many-to-any
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  many-to-any
  @/@loader
  sname
  loader
  slabel
  loader
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.loader
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  loader
  @/@sql-insert
  sname
  sql-insert
  slabel
  sql-insert
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.sql-insert
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  sql-insert
  @/@sql-update
  sname
  sql-update
  slabel
  sql-update
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.sql-update
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  sql-update
  @/@sql-delete
  sname
  sql-delete
  slabel
  sql-delete
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.sql-delete
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  sql-delete
  @/@sql-delete-all
  sname
  sql-delete-all
  slabel
  sql-delete-all
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.sql-delete-all
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  sql-delete-all
  @/@filter
  sname
  filter
  slabel
  filter
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.filter
  smany
  true
  seditCols
  2
  sinitialization
  false
  sid
  filter
