uCosminexus Application Server, Definition Reference Guide

[Contents][Index][Back][Next]

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 name Type Optional/Required Description
name xsd:string Required See the name attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
table xsd:string Optional See the table attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide
catalog xsd:string Optional See the catalog attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
schema xsd:string Optional See the schema attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
pk-column-name xsd:string Optional See the pkColumnName attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
value-column-name xsd:string Optional See the valueColumnName attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
pk-column-value xsd:string Optional See the pkColumnValue attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
initial-value xsd:int Optional See the initialValue attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.
allocation-size xsd:int Optional See the allocationSize attribute in 2.7.60 @TableGenerator in the manual uCosminexus Application Server API Reference Guide.