Adapted the JPA to the original EDM schema using JPA/EDM mapping.