Thanks Craig. When the JDO implementation generates the classes at runtime...
1 - Should the field-name attribute be used to generate the field in the class? 2 - There is no attribute that defines the binary name of the generated class at runtime. We may need a metadata attribute to allow specifying it, and secondly, we should define a default naming for the generated class if not specified in the metadata. I have two proposals for a default: - <interface-package>.Jdo<interface-classname> - <interface-package>.<interface-classname>Impl Regards, Erik Bengtson Quoting Craig L Russell <[EMAIL PROTECTED]>: > Hi Erik, > > On Nov 8, 2005, at 3:58 PM, [EMAIL PROTECTED] wrote: > > > > > Hi, > > > > The element property in DTD misses the persistence-modifier attribute. > > > > On the same suject, I don't know the purpose of field-name in > > property. Can > > someone give me a light? > > The purpose of field-name in property is to allow a query against a > property to be mapped to the appropriate field in each mapped > implementation class. So, if querying for a property called startDate > in Employee, it would be mapped to field beginDate in > PartTimeEmployee and to field beginningDate in FullTimeEmployee. > > Craig > > > > > Regards, > > > > Erik Bengtson > > > > > > > > > > > > Craig Russell > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo > 408 276-5638 mailto:[EMAIL PROTECTED] > P.S. A good JDO? O, Gasp! > >
