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