persistence@glassfish.java.net

Re: code reivew for issue 743

From: Michael Bouschen <Michael.Bouschen_at_Sun.COM>
Date: Tue, 22 Aug 2006 17:11:14 +0200

Hi Sahoo,

you are right. I meant a *class* having an @Embeddable annotation.

Regards Michael

> Michael,
>
> Michael Bouschen wrote:
>> Hi Jielin,
>>
>> I'm wondering whether we have to distinguish @Embeddable and @Embedded
>> here. I think an entity class might have an @Embeddable annotation.
> What do you mean by an entity class might have an @Embeddable annotation
> in it? I hope you *didn't* mean something like this as it's not allowed:
> @Entity @Embeddable public class Foo {...}
>
> Thanks,
> Sahoo