1 Reply Latest reply on Oct 21, 2015 5:47 PM by rareddy

    'M' or 'L' in odata URL for Primary Key

    prashanthi1

      Hi,

       

      We observe that the odata URL returns 'M' after the primary key value which is a BigDecimal in the response URLs, and 'L' for BigInteger.

      For eg :

      "__metadata": {

                          "uri": "http://localhost:8080/odata/testVDB/V1.testTable(13L)",

                          "type": "V1.testTable"

                      },

       

       

      "__metadata": {

                          "uri": "http://localhost:8080/odata/testVDB/V1.testTable(13M)",

                          "type": "V1.testTable"

                      },

       

      why is the 'M' or 'L' coming in the URL  and is  their any way of getting only the numbers in the URL ?

       

      Thanks in advance,

      Prashanthi.