Used to install the Automatic Sequence/Key Generation facility for db-entity. This feature is intended for use with simple (non-compound) integral primary keys.
<xs:element name="db-key-generator"><xs:annotation><xs:documentation>Used to install the Automatic Sequence/Key Generation facility for db-entity. This feature is intended for use with simple (non-compound) integral primary keys.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="db-generator-type" type="xs:string"><xs:annotation><xs:documentation>Specifies the Key Generation Method that will be employed 'ORACLE' - use Oracle's SEQUENCE 'NAMED_SEQUENCE_TABLE' - use USER designated SEQUENCE TABLE. User specifies the name of a DBMS Table with the schema (sequence INT) which will be used to hold sequence values (not supported yet)</xs:documentation></xs:annotation></xs:element><xs:element minOccurs="0" name="db-generator-name" type="xs:string"><xs:annotation><xs:documentation>For db-generator-type ORACLE this is the name of the ORACLE SEQUENCE to use. The SEQUENCE is assumed to already exist in the Database. If this is db-generator-type NAMED_SEQUENCE_TABLE Key Generation, this specifies the name of the SEQUENCE TABLE to use. The NAMED_SEQUENCE_TABLE is assumed to already exist in the database.</xs:documentation></xs:annotation></xs:element><xs:element minOccurs="0" name="db-key-cache-size" type="xs:integer"><xs:annotation><xs:documentation>Size of key cache. For db-generator-type ORACLE , this value MUST match the Oracle SEQUENCE INCREMENT value. If there is a mismatch between this value and the Oracle SEQUENCE INCREMENT value, then there will likely be duplicate key problems. For db-generator-type NAMED_SEQUENCE_TABLE , this tells how many keys the Container will fetch in a single DBMS call.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element>
Specifies the Key Generation Method that will be employed 'ORACLE' - use Oracle's SEQUENCE 'NAMED_SEQUENCE_TABLE' - use USER designated SEQUENCE TABLE. User specifies the name of a DBMS Table with the schema (sequence INT) which will be used to hold sequence values (not supported yet)
Diagram
Type
xs:string
Properties
content:
simple
Source
<xs:element name="db-generator-type" type="xs:string"><xs:annotation><xs:documentation>Specifies the Key Generation Method that will be employed 'ORACLE' - use Oracle's SEQUENCE 'NAMED_SEQUENCE_TABLE' - use USER designated SEQUENCE TABLE. User specifies the name of a DBMS Table with the schema (sequence INT) which will be used to hold sequence values (not supported yet)</xs:documentation></xs:annotation></xs:element>
For db-generator-type ORACLE this is the name of the ORACLE SEQUENCE to use. The SEQUENCE is assumed to already exist in the Database.If this is db-generator-type NAMED_SEQUENCE_TABLE Key Generation, this specifies the name of the SEQUENCE TABLE to use. The NAMED_SEQUENCE_TABLE is assumed to already exist in the database.
Diagram
Type
xs:string
Properties
content:
simple
minOccurs:
0
Source
<xs:element minOccurs="0" name="db-generator-name" type="xs:string"><xs:annotation><xs:documentation>For db-generator-type ORACLE this is the name of the ORACLE SEQUENCE to use. The SEQUENCE is assumed to already exist in the Database. If this is db-generator-type NAMED_SEQUENCE_TABLE Key Generation, this specifies the name of the SEQUENCE TABLE to use. The NAMED_SEQUENCE_TABLE is assumed to already exist in the database.</xs:documentation></xs:annotation></xs:element>
Size of key cache. For db-generator-type ORACLE , this value MUST match the Oracle SEQUENCE INCREMENT value. If there is a mismatch between this value and the Oracle SEQUENCE INCREMENT value, then there will likely be duplicate key problems.For db-generator-type NAMED_SEQUENCE_TABLE , this tells how many keys the Container will fetch in a single DBMS call.
Diagram
Type
xs:integer
Properties
content:
simple
minOccurs:
0
Source
<xs:element minOccurs="0" name="db-key-cache-size" type="xs:integer"><xs:annotation><xs:documentation>Size of key cache. For db-generator-type ORACLE , this value MUST match the Oracle SEQUENCE INCREMENT value. If there is a mismatch between this value and the Oracle SEQUENCE INCREMENT value, then there will likely be duplicate key problems. For db-generator-type NAMED_SEQUENCE_TABLE , this tells how many keys the Container will fetch in a single DBMS call.</xs:documentation></xs:annotation></xs:element>