users@glassfish.java.net

Re: JPA with database Views

From: <glassfish_at_javadesktop.org>
Date: Tue, 23 Oct 2007 14:04:55 PDT

If you didn't annotate a class with @Entity, it's not an entity, and can't be used as such. @Table defines a mapping for an entity, so it's an extra annotation used to override the defaults.

Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

http://forums.java.net/jive/thread.jspa?messageID=241752