quick update:

  @OneToOne(cascade=CascadeType.ALL)
  @JoinColumn(name = "main_adres_id")
  public Address getAddress() {
    return address;
  }

does the trick
-- 
View this message in context: 
http://www.nabble.com/saving-related-objects-tp25440670s2369p25444915.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to