aspose file tools
The moose likes Object Relational Mapping and the fly likes CDI do not manage Entitymanager Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: CDI do not manage Entitymanager
 
Similar Threads
Customizing EntityManager injection for multi-tenancy
How to inject EntityManager via setter in spring
problem with find() in jpa
EJB 3.1 Cookbook - where's CDI?
Convert JDBC Connection to EntityManager