Hi Andy, On Jul 18, 2007, at 12:46 AM, Andy Jefferson wrote:
The only thing needed is the Embedded[] embedded() default {} element of @Key, @Value, and @Element, replacing the String embedded() that I think has no use here.@Element "embedded" (String) has the same use as <collection embedded-element="...">
Yes, this is part of the separation of jdo from orm metadata. It might make sense to preserve the name of the attributes and put the corresponding annotation elements embeddedElement, embeddedKey, and embeddedValue into @Field and @Property and then use embedded() for mapping.
Have you looked at how to do mapping of embedded element, key, and value with the current annotations? I might have missed something obvious...
Thanks, Craig
-- Andy (Java Persistent Objects - http://www.jpox.org)
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!
smime.p7s
Description: S/MIME cryptographic signature