This content has been marked as final.
Show 2 replies
-
1. Re: Null pointer exception for entityManager
wdfink Feb 9, 2016 5:33 PM (in response to punitbangade)How your deployed application look like?
Could you show the Entity and the persistence.xml and what you try to achieve?
-
2. Re: Null pointer exception for entityManager
anmk28 Feb 9, 2016 10:00 PM (in response to wdfink)Try to add the <property name="wildfly.jpa.default-unit" value="true" /> persistence.xml and commenting out the following from standalone.xml
<subsystem xmlns="urn:jboss:domain:jpa:1.1">
<jpa default-datasource=""/>
</subsystem>
It my be help
Thanks
Mahesh