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

    Bidirectional One-To-One using @PrimaryKeyJoinColumn

    catchsandeepvaid


      [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.