Attempting to get JPA hooks working.