JPA and a First tier application performance problems