Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Bidirectional One-To-One using @PrimaryKeyJoinColumn



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