Hi MrG,
On Jan 23, 2007, at 5:37 AM, Michael Gentry wrote:
> Hi Craig,
>
> I'm pretty ignorant on the JPA stuff so far, but from an accessor
> point of view, I'm assuming it would look something like this:
>
> anEmployee.getHomeAddress().getStreet();
>
> I wouldn't imagine there is a roll-up of the attributes into the main
> class at all.
Correct. The only visibility in the enclosing class are the
properties HomeAddress and WorkAddress. All of the address columns in
the table are mapped into properties in the HomeAddress and WorkAddress.
Craig
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russel..un.com
P.S. A good JDO? O, Gasp!
This archive was generated by hypermail 2.0.0 : Tue Jan 23 2007 - 12:34:08 EST