How to use JPA correctly to avoid complaints of a slow application | Hacker News Reader