persistence@glassfish.java.net

Re: _at_Entity and _at_Embeddable

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Mon, 08 Oct 2007 12:58:50 -0700

At least in JPA 1.0 ;). @Embeddable can't have an id.

regards,
-marina

Aleksei Valikov wrote:
> Hi, I have a small question.
>
> Are @Entity and @Embeddable mutualy exclusive?
>
> Bye.
> /lexi