update to JPA 2.1 spec