Java - JPA - @Basic and @Embedded
Posted
by Yatendra Goel
on Stack Overflow
See other posts from Stack Overflow
or by Yatendra Goel
Published on 2010-04-05T13:14:58Z
Indexed on
2010/04/05
13:23 UTC
Read the original article
Hit count: 318
I am learning JPA from this tutorial.
I have some confusions in understanding the following annotations:
@Basic
@Embedded
Fields of an embeddable type default to persistent, as if annotated with @Embedded.
If the fields of embeddable types defualt to persistent, then why would we need @Embedded
© Stack Overflow or respective owner