Hi Scott,

Inline...

>-----Original Message-----
>From: Matthew Adams 
>Sent: Thursday, February 22, 2007 10:58 AM
>To: 'jdo-user@db.apache.org'
>Subject: RE: Resend: Questions regarding persistent interfaces
>
...
>>2) If a class implements a persistent-capable interface, is there a
>>default mapping between the interface properties and class field names
>>(i.e. would a property named "modDate" of type java.util.Date map by
>>default to a field in the implementing class of the same name 
>and type?
>>If not, why not?
>>
>I'm not sure what you mean by a "mapping between the interface 
>properties and class field names".  This is evident from the 
>Java definitions of the class that implements the interface.
>
Sorry, my misunderstanding there (I was focused on the OR mapping
metadata, not the property-field mapping).  The mapping between the
interface properties and class fields is normally achieved via the
"field-name" attribute on the <property> element in the <implements>
element, and it's probable that what you describe is achievable by
default.

We are proposing a spec change to address & clarify this and will
discuss on tomorrow's call.

-matthew

Reply via email to