^1640764605528
@
sname
generator
slabel
generator
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
sid
generator
  @/@class
  sname
  class
  slabel
  class
  sinputtype
  inputSelect
  ssize
  50
  sdescription
  所有的生成器都实现net.sf.hibernate.id.IdentifierGenerator接口。 这是一个非常简单的接口；某些应用程序可以选择提供他们自己特定的实现。当然， Hibernate提供了很多内置的实现。下面是一些内置生成器的快捷名字： <br /><strong>increment</strong> <br />用于为long, short或者int类型生成 唯一标识。只有在没有其他进程往同一张表中插入数据时才能使用。 在集群下不要使用。 <br /><strong>identity</strong> <br />对DB2,MySQL, MS SQL Server, Sybase和HypersonicSQL的内置标识字段提供支持。 返回的标识符是long, short 或者int类型的。 <br /><strong>sequence<br /></strong> 在DB2,PostgreSQL, Oracle, SAP DB, McKoi中使用序列（sequence)， 而在Interbase中使用生成器(generator)。返回的标识符是long, short或者 int类型的。 <br /><strong>hilo</strong> <br />使用一个高/低位算法高效的生成long, short 或者 int类型的标识符。给定一个表和字段（默认分别是是 hibernate_unique_key 和next_hi）作为高位值的来源。 高/低位算法生成的标识符只在一个特定的数据库中是唯一的。 <br /><strong>seqhilo</strong> <br />使用一个高/低位算法来高效的生成long, short 或者 int类型的标识符，给定一个数据库序列（sequence)的名字。 <br /><strong>uuid</strong> <br />用一个128-bit的UUID算法生成字符串类型的标识符， 这在一个网络中是唯一的（使用了IP地址）。UUID被编码为一个32位16进制数字的字符串。 <br /><strong>guid</strong> <br />在MS SQL Server 和 MySQL 中使用数据库生成的GUID字符串。 <strong>native</strong> 根据底层数据库的能力选择identity, sequence 或者hilo中的一个。 <br /><strong>assigned</strong> <br />让应用程序在save()之前为对象分配一个标示符。这是 <generator></generator>元素没有指定时的默认生成策略。 <br /><strong>select</strong> <br />通过数据库触发器选择一些唯一主键的行并返回主键值来分配一个主键。 <br /><strong>foreign</strong> <br />使用另外一个相关联的对象的标识符。通常和<one-to-one></one-to-one>联合起来使用。
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  class
    @/@class/@increment
    sname
    increment
    slabel
    increment
    svalue
    increment
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    increment
    @/@class/@identity
    sname
    identity
    slabel
    identity
    svalue
    identity
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    identity
    @/@class/@sequence
    sname
    sequence
    slabel
    sequence
    svalue
    sequence
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    sequence
    @/@class/@hilo
    sname
    hilo
    slabel
    hilo
    svalue
    hilo
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    hilo
    @/@class/@seqhilo
    sname
    seqhilo
    slabel
    seqhilo
    svalue
    seqhilo
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    seqhilo
    @/@class/@uuid
    sname
    uuid
    slabel
    uuid
    svalue
    uuid
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    uuid
    @/@class/@guid
    sname
    guid
    slabel
    guid
    svalue
    guid
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    guid
    @/@class/@native
    sname
    native
    slabel
    native
    svalue
    native
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    native
    @/@class/@assigned
    sname
    assigned
    slabel
    assigned
    svalue
    assigned
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    assigned
    @/@class/@select
    sname
    select
    slabel
    select
    svalue
    select
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    select
    @/@class/@foreign
    sname
    foreign
    slabel
    foreign
    svalue
    foreign
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    foreign
    @/@class/@MultipleHiLoPerTableGenerator
    sname
    MultipleHiLoPerTableGenerator
    slabel
    MultipleHiLoPerTableGenerator
    svalue
    org.hibernate.id.MultipleHiLoPerTableGenerator
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    MultipleHiLoPerTableGenerator
    @/@class/@MultipleHiLoPerTable32Generator
    sname
    MultipleHiLoPerTable32Generator
    slabel
    MultipleHiLoPerTable32Generator
    svalue
    xworker.db.id.MultipleHiLoPerTable32Generator
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    MultipleHiLoPerTable32Generator
    @/@class/@MultipleHiLoPerTableStringGenerator
    sname
    MultipleHiLoPerTableStringGenerator
    slabel
    MultipleHiLoPerTableStringGenerator
    svalue
    xworker.db.id.MultipleHiLoPerTableStringGenerator
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sid
    MultipleHiLoPerTableStringGenerator
  @/@param
  sname
  param
  slabel
  param
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.hibernate.hibernate-mapping-nodes.param
  sid
  param
