I am trying to put together a prototype using an orm.xml file instead of using 
attributes. One of the features I would like to use is the 
@Externalizer/@Factory attributes. I have tried to follow the sample provided 
in the openjpa manual 
(http://openjpa.apache.org/builds/2.2.2/apache-openjpa/docs/manual.pdf), but I 
get an error during compile - "Cannot find the declaration of element 
'entity-mappings'."

Based on the sample provided in the manual, I am using the following:

<entity-mappings xmlns="http://www.apache.org/openjpa/ns/orm/extendable";
                xmlns:openjpa="http://www.apache.org/openjpa/ns/orm";
                xmlns:orm="http://java.sun.com/xml/ns/persistence/orm";
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                version="2.0">

Can anyone provide any guidance on how to use this extendable schema? Should I 
be specifying the schema location? If so, what is the schema location?

I am new to Java and OpenJPA, and am running out of search terms to Google.

Any information you can provide would be appreciated.

Thanks!


Kate Tierney
GE Healthcare IT
Lead Software Engineer

T: 802-859-6071
E: [email protected]<mailto:[email protected]>
www.gehealthcare.com<http://www.gehealthcare.com>

40 IDX Drive
South Burlington, VT 05403
General Electric Company, GE Healthcare

Reply via email to