Can you derive from the JPA spec, if @PrimaryKeyJoinColumn(...)
, which doesn\'t have the insertable and updatable parameters, is the same as
@JoinC
Yes, the two are equivalent.
Note in JPA 2.0 you can also add an @Id
to a @OneToOne
mapping and avoid having the duplicate basic id attribute altogether.
See
from the WikiBooks Java Persistence pages