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

Join Column name is used for EDM attribute and exposed as is in $metadata

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • V2 2.0.0
    • V2 2.0.1
    • odata2-jpa
    • None

    Description

      If I set ODataJPAContext.setDefaultNaming(false) then the attributes for join column is of form FK_<JoinColumn Name>, there by exposing the foreign column name in $metadata url. It would be be nice just to have the JPA attribute name itself with a suffix 'fk' instead and not expose the Database column name.

      If this is not possible atleast provide support to override this name in JPAEdmMappingModel configuration XML.

      Attachments

        Activity

          People

            chandan.v.a Chandan V.A
            kiransg Kiran G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: