Riley Rainey created OLINGO-291:
-----------------------------------
Summary: Documentation: JPA Redefine metadata documentation page
could be clearer
Key: OLINGO-291
URL: https://issues.apache.org/jira/browse/OLINGO-291
Project: Olingo
Issue Type: Bug
Components: odata2-documentation
Affects Versions: V2 1.2.0
Reporter: Riley Rainey
The documentation describing where to place a metadata redefinition file could
be clearer (see
http://olingo.apache.org/doc/tutorials/jparedefinemetadata.html).
I suggest changing the wording from:
"Store the JPA EDM Mapping model XML in webapp folder of Java web application.
Make sure the file is placed under the applications root folder (relative to
class path ../../WEB-INF/classes) when the application is deployed on web
server."
to
"Deploy the JPA EDM Mapping model XML file in the root directory of your web
application archive (in other words, store it in the same directory as
'WEB-INF')."
Also, the example call to setJPAEdmNameMappingModel, could be clarified by
changing it from:
oDataJPAContext.setJPAEdmNameMappingModel(<name of xml file>);
to
oDataJPAContext.setJPAEdmNameMappingModel(<mapping xml filename with XML
extension>);
--
This message was sent by Atlassian JIRA
(v6.2#6252)