tag | 7238a48a6d9097efd7fdbab78d2ecb010ef1312f | |
---|---|---|
tagger | Bo Liu <bo.l.liu@oracle.com> | Tue Feb 10 04:41:14 2015 -0500 |
object | f44015dcd2e18bcf3e5279fd5dc30cb11e56dc48 |
'Create 2.6.0-RC1 Tag for 2.6.0.v20150210-f44015d'
commit | f44015dcd2e18bcf3e5279fd5dc30cb11e56dc48 | [log] [tgz] |
---|---|---|
author | Martin Vojtek <martin.vojtek@oracle.com> | Mon Feb 09 14:14:31 2015 +0100 |
committer | Martin Vojtek <martin.vojtek@oracle.com> | Mon Feb 09 14:54:55 2015 +0100 |
tree | 0dad9f0dc139beef8926268f6fa7ca95e8b3e053 | |
parent | 9477dd820cd0571a4e63d8463d2ed76069625a2f [diff] |
Bug #447393 - New handling of type vs. xsi.type. New properties org.eclipse.persistence.json.type-compatibility and org.eclipse.persistence.json.use-xsd-types-prefix. Type compatibility property allows backward compatibility of type property handling during marshalling and unmarshalling. Since this commit, type property is by default treated as any other property. To use type property as MOXy type discrimator, it is necessary to qualify type property with http://www.w3.org/2001/XMLSchema-instance namespace. Use xsd types property allows usage of unqualified xml schema types even when using namespaces for some other elements/attributes. Since this commit, by default MOXy marshall and unmarshall unqualified simple xml schema types (like xsd.string, xsd.int). To marshal/unmarshal fully qualified simple xml schema types, it is necessary to set property org.eclipse.persistence.json.use-xsd-types-prefix to true. There are several ways how to set these properties. It is possible to set system property, to set property into JAXBContext or Marshaller/Unmarshaller. Signed-off-by: Martin Vojtek <martin.vojtek@oracle.com> Reviewed-by: Iaroslav Savytskyi Reviewed-by: Marcel Valovy
The EclipseLink project's goal is to provide a complete persistence framework that is both comprehensive and universal. It will run in any Java environment and read and write objects to virtually any type of data source, including relational databases, XML, JSON, or EIS systems. EclipseLink will focus on providing leading edge support, including advanced feature extensions, for the dominant persistence standards for each target data source; Java Persistence API (JPA) for relational databases, Java API for XML Binding (JAXB) for XML, Java Connector Architecture (JCA) for EIS and other types of legacy systems, and Service Data Objects (SDO).