Hi, I am trying to look up JPA EntityManager in DAO class in Websphere Application Server 7 environment and getting JNDI Name not found exception. I have configured to use Hibernate as JPA Persistence Provider.
My DAO class is below:
I tried with below provider properties information as well, but, the exception does not disappear
Trying to access DAO method in the below class.
Persistence.xml is below:
What JNDI URI needs to be used to lookup JPA EntityManager in Websphere environment?