> 3. Provide a way to specify the foreign key name for a Field and
> Property annotation, e.g. String foreignKey().

Or @ForeignKey(name="MY_FK") on the field/property.

> 4. Provide a way to specify the unique key constraint name for Field
> and Property annotation, e.g. String uniqueKey(). This element
> provides the name of the unique key constraint and sets the String
> unique() element to "true".

Or @Unique(name="MY_IDX") on the field/property.

> 5. Provide a way to specify the index name for Field and Property
> annotation, e.g. String index(). This element provides the name of
> the index and sets the String indexed() element to "true".

Or @Index(name="MY_IDX") on the field/property.

> 7. To generate a foreign key using a system-generated name, specify
> generateForeignKey="true".

presumably in @Element, @Key, @Value ?
because to do that on a field/property add @ForeignKey against the 
field/property.



PS. Is it possible to get a copy of the latest spec with all updates that have 
gone in since 2.0-final ? Maybe distribute it on the EG alias ?

-- 
Andy  (Java Persistent Objects - http://www.jpox.org)

Reply via email to