hi Joerg, http://db.apache.org/ojb/repository.html#attribute for reference. You can use this tag for user defined attrbites that you want to add to your field-, reference, collection and class-decsriptors. This allows you to keep special information within the DescriptorRepository.
For instance you could keep a jcdAlias Attribute with each class-descriptor and use this value to store classes to different jdbc datasources. http://cvs.apache.org/viewcvs/db-ojb/src/test/org/apache/ojb/broker/metadata /CustomAttributesTest.java shows how to use the API (and also proves that this feature is working!) cheers, Thomas > -----Original Message----- > From: Joerg Lensing [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2003 10:56 AM > To: OJB Users List > Subject: attribute element in field-desciptor > > > hello, > can someone tell me the purpose of the attribute element in > field-descriptor? the docs are very > short about this and the testcases don't show an example. > > joerg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
