You could try creating a new entity manager from the entity manager factory, 
and try loading objects using that manager to get the database objects.

I think you can do it as : 


  |   @In
  |   private EntityManagerFactory entityManagerFactory;
  | 

I believe the entityManagerFactory is created as an application scoped seam 
component.

To create a new entityManager you can call createEntityManager() on the factory 
object.

Cheers,

Andy




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109595#4109595

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109595
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to