Class JpaNamespaceTransformingEventReader

  • All Implemented Interfaces:
    Iterator<Object>, XMLEventReader

    public class JpaNamespaceTransformingEventReader
    extends EventReaderDelegate
    Transforms the version attribute and namespace of the JPA configuration files (persistence.xml and orm.xml) to the default. For the purpose of the metamodel it is enough to parse the xml against the latest specification version and schema.