Skip to content

EclipseLink 4.0.0

Lukas Jungmann edited this page Sep 20, 2021 · 6 revisions

Breaking changes

org.eclipse.persistence.core

  • org.eclipse.persistence.session.Record renamed to org.eclipse.persistence.session.DataRecord

org.eclipse.persistence.moxy

  • jaxb.properties are no longer supported, to create DynamicJAXBContext, use:
JAXBContext.newInstance(..., ...,
    Map.of(JAXBContextProperties.MOXY_FACTORY, JAXBContextProperties.Factory.DYNAMIC));

org.eclipse.persistence.dbws

  • removed dependency on REST APIs
  • org.eclipse.persistence.jpa.rs and org.eclipse.persistence.internal.jpa.rs package structure has been moved to the new org.eclipse.persistence.jpars.server artifact

org.eclipse.persistence.jpars.server

  • the new module to hold REST specific features
  • the new place for org.eclipse.persistence.jpa.rs and org.eclipse.persistence.internal.jpa.rs packages

org.eclipse.persistence.jpars

  • removed legacy unversioned REST resources, if needed, use v1 instead ofv2 which is the new default