JBoss Community

Re: persistence.xml does not deploy

created by ora7 in Datasource Configuration - View the full discussion

I works now with the  @PersistenceContext annotation.

 

 

@PersistenceContext

 

private EntityManager entityManager;

 

Without manually creation the entityManager over the factory creates a mapping exception.

 



Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community