I am learning EJB3.0 JPA and i tried deploying a sample bean on Jboss server and i am getting the following exception
Reason: java.lang.RuntimeException: You have not defined a jta-data-source for a JTA enabled persistence context named: employeeDB
Depends On Me:
how to resolve this problem and also tell me whether i need to configure datasource in jboss for this and whether any libraries i need to put for making this work.
I am trying to connect to oracle DB and also i am not sure whether my persistence.xml is right .. i am putting my persistence.xml over here and correct me by giving examples if there is anything wrong.