we recently migrated from hibernate to EJB3/JPA. Currently seeing the performance issues a lot. are there any tuning helps on JPA that we can look at? we are already using the query caching one...one interesting thing that we found is, the number of calls between the application server and the DB server increased a lot after migrating to JPA, for a single user test for the screen flow of 20 screens, it is generating almost 4000 calls between the appserver and db server, we know that we for sure dont have those many SQLs written, but dont have a clue as to what must be happening..
Any help is appreciated..