[jboss-user] [Datasource Configuration] - Re: persistence.xml does not deploy

ora7 do-not-reply at jboss.com
Fri Jun 1 15:43:40 EDT 2012


ora7 [https://community.jboss.org/people/ora7] created the discussion

"Re: persistence.xml does not deploy"

To view the discussion, visit: https://community.jboss.org/message/739417#739417

--------------------------------------------------------------
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
[https://community.jboss.org/message/739417#739417]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120601/4239b124/attachment-0001.html 


More information about the jboss-user mailing list