Tuning the JPA and Hibernate mappings of a Spring e-commerce application