Hi,
I cannot generate with XDoclet the appropriate mapping for properties
(I need to add an unique composite key index - as in for a secondary key).
Hibernate version:
Hibernate 3.0
Mapping documents:
/**
* @hibernate.properties
* name="unico"
* unique="true"
* @hibernate.property
* name="abbreviation"
* column="ABBREV"
* @hibernate.property
* name="schedule"
* column="SCHEDULE"
*/
generates nothing/nada/ in *.hbm.xml
I can add it manually (as shown below) but that is not what I want to do.
<properties name="unico" unique="true" update="false">
<property name="abbreviation"/>
<property name="schedule"/>
</properties>
Is this a limitation of XDoclet?
How can I work around it?
I've seen XDoclet2, which seems to support 'hibernate.properties'. Is this the way to go? Is it production quality? and is there better documentation out there than what you see on their website
thank you,
Martino
Name and version of the database you are using:
db2
[/b][/i]