Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Example using EclipseLink+MongoDB+XML Mappings

You XML is not correct,

>     <no-sql dataFormat="DataFormatType.MAPPED" />

This should be,

    <no-sql data-format="MAPPED" />

Refer to the EclipseLink ORM schema,

http://wiki.eclipse.org/EclipseLink/XSDs

To validate your ORM at runtime set,

"eclipselink.orm.validate.schema"="true"

in your persistence.xml

(or validate your XML inside your IDE such as Eclipse's XML editor)




--
View this message in context: http://eclipse.1072660.n5.nabble.com/Example-using-EclipseLink-MongoDB-XML-Mappings-tp160249p160298.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.


Back to the top