6.3.3 Elements below table-generator

Organization of this subsection
(1) <table-generator>

(1) <table-generator>

The generators defined by the table-generator element will be applied to the persistence unit.

The defined generator is added to the generators defined using annotations. If a generator with the same name is defined in the annotation, the generator defined by the table-generator element is overwritten.

For details about the functionality and attributes, see section 2.7 javax.persistence package in the manual uCosminexus Application Server API Reference Guide.

The following table lists the specifiable attributes:

Table 6-8 Attributes of <table-generator>

Attribute nameTypeOptional/RequiredDescription
namexsd:stringRequiredSee the name attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
tablexsd:stringOptionalSee the table attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide
catalogxsd:stringOptionalSee the catalog attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
schemaxsd:stringOptionalSee the schema attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
pk-column-namexsd:stringOptionalSee the pkColumnName attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
value-column-namexsd:stringOptionalSee the valueColumnName attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
pk-column-valuexsd:stringOptionalSee the pkColumnValue attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
initial-valuexsd:intOptionalSee the initialValue attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
allocation-sizexsd:intOptionalSee the allocationSize attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.