|
JDO tags specific for Solarmetric's Kodo.
The kodo.table tag gives access to the Kodo extensions at the class level to be included in the
generated jdo metadata.
Parameter |
Type |
Applicability |
Description |
Mandatory |
pk-column |
text |
|
This is only for classes using datastore identity. It specifies the primary key column
for the table in which the class is held. This column must be of a numeric type and must not be
mapped to any fields of the class. If the pk-column extension is not specified, Kodo will add its
own primary key column, usually named JDOIDX.
|
false |
lock-column |
text |
|
Specifies the column used to record the version number of objects. Versioning is used to detect concurrent
modification of objects during optimistic transactions. The given column must be of a numeric type and must
not be mapped to any fields of the class. If the extension is not present, Kodo JDO will add its own lock
column, usually named JDOLOCKX. You can prevent the creation of a lock column by specifying a value of none.
In this case, concurrent modification violations will not be detected.
|
false |
class-column |
text |
|
This column stores the class name of the object represented by each table row. The column must be a string
type, and must be large enough to hold the full class name of any persistent class mapped to the table.
It must not be mapped to any fields of the class. If the extension is not present, Kodo JDO will add its
own class column, usually named JDOCLASSX. If the table's corresponding persistent class has no persistent
subclasses and you do not want a column to be generated, specify a value of none.
|
false |
JDO tags specific for Solarmetric's Kodo.
|