JPA style ordinal bug fixed