|
From: Gavin K. <ga...@ap...> - 2002-10-07 10:48:29
|
I've made some "improvements" to the mapping dtd. * used enumerated attribute types everywhere * the above required changing "save/update" cascade style to "save-update" * introduced <key-many-to-one> and <key-property> elements for mapping properties + associations that are part of a primary key * replaced the use of <property> inside <composite-id> declarations with <key-property> * added <composite-index> and <index-many-to-many> elements, allowing a Map with an association as part of its key. * removed all the deprecated length attributes on foreign key elements like <many-to-one> Old mappings continue to work, they just don't conform to the new DTD. I will try to provide support for both DTD versions for the near future. (1) Does anyone know the best naming convention for new DTD versions? Would this: hibernate-mapping-1.1.dtd be okay? (2) Does anyone have any criticism of the new DTD changes? In particular, better names for the new elements. (3) Is there anything else anyone would like to see changed? Now would be a good time to change/fix anything people find inelegant. |