wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes CDI do not manage Entitymanager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "CDI do not manage Entitymanager " Watch "CDI do not manage Entitymanager " New topic
Author

CDI do not manage Entitymanager

tehackio teha
Greenhorn

Joined: Dec 08, 2011
Posts: 3
I'm using JSF2.0, CDI Weld, Tomcat 7.0.30, JPA(Hibernate).

This works on @Inject attributes on @named beans...


but this is never caller. Refresh page many times and connection remain open and timeout connection throws.
 
jQuery in Action, 2nd edition
 
subject: CDI do not manage Entitymanager
 
Similar Threads
How to inject EntityManager via setter in spring
EJB 3.1 Cookbook - where's CDI?
problem with find() in jpa
Convert JDBC Connection to EntityManager
Customizing EntityManager injection for multi-tenancy