Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-291

Documentation: JPA Redefine metadata documentation page could be clearer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V2 1.2.0
    • None
    • odata2-documentation
    • None

    Description

      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>);

      Attachments

        Activity

          People

            deepashree Deepashree
            rrainey_sap Riley Rainey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: