Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is @PrimaryKeyJoinColumn(...) the same as...?

KawuNov 17 2010 — edited Nov 18 2010
@JoinColumn(..., insertable = false, insertable = false)

or

@JoinColumn(..., insertable = true, insertable = true)

?

@PrimaryKeyJoinColumn is missing the insertable and updatable params.... I would guess the latter, because primary key join columns should stay writable. What do you think/know?

Does the JPA spec state which values the missing @PrimaryKeyJoinColumn read-only params get by default?

Karsten

Edited by: Karsten Wutzke on Nov 17, 2010 4:47 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2010
Added on Nov 17 2010
6 comments
2,325 views