persistence@glassfish.java.net

Re: _at_Entity and _at_Embeddable

From: Aleksei Valikov <aleksei.valikov_at_gmail.com>
Date: Mon, 8 Oct 2007 22:39:04 +0200

Hi.

> > Are @Entity and @Embeddable mutualy exclusive?
>
> At least in JPA 1.0 ;). @Embeddable can't have an id.

Thank you, Marina.

Bye.
/lexi