Hi I have a seam pojo annotated as
@PersistenceContext (type=EXTENDED)
private EntityManager em;
and I have the factory method
@Factory ("foobar")
@SuppressWarnings ("unchecked")
public void findAllFoobars() {
foobars = em.createQuery("from Foobar f").getResultList();
}
When the factory method is called, the entity manager is null. Does anyone have any idea
why this would occur? All my other objects based on EntityHome<> work fine.
Oh yeah, I am using 1.1 CR1.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990200#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...