persistence@glassfish.java.net

Re: _at_Entity and _at_Embeddable

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Mon, 08 Oct 2007 14:14:01 -0700

Thinking more about it, you might be able to override everything in orm.xml...

-marina

Marina Vatkina wrote:
> 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