0 Replies Latest reply on Nov 8, 2009 9:00 AM by Sandeep Vaid

    Bidirectional One-To-One using @PrimaryKeyJoinColumn

    Sandeep Vaid Newbie


      [p-277 of EJB3 In Action Book] talks about only unidirectional one-to-one. How about bidirectional one-to-one using @PrimaryKeyJoinColumn? Do i have to specify
      mapped-by attribute as i did it for bidirectional one-to-one using @JoinColumn.