Hi again, as promised I checked in a solution from Ron Gallagher. It is now possible to specifiy custom attributes for class- and field-descriptors. There is also a unit test demonstrating the functionality (CustomAttributesTest).
cheers, Thomas Olmanson, Alan wrote: > Is there a way to add additional metadata to the repository and into > PersistenceBroker's Descriptor classes? > > Something similar to JDO's extension, or ant's property? > > > <class-descriptor class="test.Contact" table="M_CONTACT"> > <property name="xyz" value="value"/> > > <field-descriptor id="1" name="id" column="CONTACT_ID" > jdbc-type="NUMERIC" primarykey="true" > autoincrement="true"/> > > <field-descriptor id="2" name="addressId" column="ADDRESS_ID" > jdbc-type="NUMERIC"> > <property name="xyz" value="ghijkl"/> > </field-descriptor> > > <reference-descriptor name="mainAddress" > class-ref="test.Address" proxy="true"> > <foreignkey field-id-ref="2"/> > <property name="xyz" value="value2"/> > </reference-descriptor> > > <collection-descriptor name="solution" element-class-ref="test.Solution" > > proxy="true" auto-delete="false"> > <inverse-foreignkey field-id-ref="2"/> > <property name="xyz" value="abcdef"/> > </collection-descriptor> > > </class-descriptor> > > > Alan > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
