I am trying to change my web-app\'s JDBC code to JPA using Hibernate as provider. I am using Eclipse IDE. In that i have defined a MySQL data source. I added it in the persi
You don't need when your datasource is configured in . is needed when datasource is configured in application server configuration and obtained via JNDI.