From: <glassfish_at_javadesktop.org>
Date: Tue, 22 Jan 2008 11:19:29 PST
You should have annotation @PersistenceContext if you want to lookup the entitymanager dynamically. You can lookup the entity manager itself rather than the factory.
See http://forums.java.net/jive/message.jspa?messageID=254935
[Message sent by forum member 'ewernli' (ewernli)]