JPA is great but damned slow