Id changed from Integer to Long, turned on new style generators, updated persistence xml schema to JPA 2.1.