users@glassfish.java.net

Re: Local EJB access within an Entity Bean

From: <glassfish_at_javadesktop.org>
Date: Thu, 17 Jan 2008 05:12:08 PST

A JPA Entity is not a Java EE component and therefore does not support the resource injection annotations.

Please move all code using the roleManager to a session bean and use the entity only for data storage.
[Message sent by forum member 'dkoper' (dkoper)]

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