Improvements to the JPA store implementation.