persistence@glassfish.java.net

Re: code reivew for issue 743

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Tue, 22 Aug 2006 20:29:16 +0530

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